Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebBaseEvent.EventTimeUtc Property

Gets the time when the event was raised.

Namespace:  System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public DateTime EventTimeUtc { get; }

Property Value

Type: System.DateTime
The time of the event in Coordinated Universal Time (UTC) format.

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

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft