WebBaseEvent.EventTimeUtc Property

Definition

Gets the time when the event was raised.

C#
public DateTime EventTimeUtc { get; }

Property Value

The time of the event in Coordinated Universal Time (UTC) format.

Examples

The following code example shows how to get the EventTimeUtc value.

C#
// Gets the event time.
public DateTime GetEventTimeUtc()
{
    // Get the event source.
    DateTime eTime = EventTimeUtc;
    return eTime;
}

Applies to

Tuote Versiot
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1