Class ElapsedEventArgs

Event argument class for ITimer.Elapsed event. This is required as it is not possible to create System.Timers.ElapsedEventArgs objects.

Inheritance
System.Object
System.EventArgs
ElapsedEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Timers
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public class ElapsedEventArgs : EventArgs

Constructors

ElapsedEventArgs()

Initializes a new instance of the ElapsedEventArgs class setting the SignalTime to the current time.

Declaration
public ElapsedEventArgs()

ElapsedEventArgs(DateTime)

Initializes a new instance of the ElapsedEventArgs class.

Declaration
public ElapsedEventArgs(DateTime signalTime)
Parameters
Type Name Description
System.DateTime signalTime

The time the ITimer signalled the Elapsed event.

Properties

SignalTime

Gets the time the ITimer signalled the Elapsed event.

Declaration
public DateTime SignalTime { get; }
Property Value
Type Description
System.DateTime