NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EventLogEntry.TimeGenerated

Gets the time at which this event was generated, in local time.

[Visual Basic]
Public ReadOnly Property TimeGenerated As DateTime
[C#]
public DateTime TimeGenerated {get;}
[C++]
public: __property DateTime get_TimeGenerated();
[JScript]
public function get TimeGenerated() : DateTime;

Property Value

A DateTime that represents the time at which this event was generated.

Remarks

TimeGenerated has millisecond accuracy.

This method holds the time that an event was generated. This may not be the same as the time that the event information was written to the event log. For the latter, use TimeWritten.

See Also

EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace | TimeWritten