Editare

Partajați prin


TraceEventCache.DateTime Property

Definition

Gets the date and time at which the event trace occurred.

public:
 property DateTime DateTime { DateTime get(); };
public DateTime DateTime { get; }
member this.DateTime : DateTime
Public ReadOnly Property DateTime As DateTime

Property Value

A DateTime structure whose value is a date and time expressed in Coordinated Universal Time (UTC).

Remarks

The first time the property is accessed in an instance of the TraceEventCache class, the current time is returned. Subsequent queries of this property in that instance return that same DateTime value, allowing it to be used as a timestamp.

Applies to