Επεξεργασία

Κοινή χρήση μέσω


EventWrittenEventArgs.TimeStamp Property

Definition

Gets the time that the event was originally generated as a DateTime timestamp. (.NET Core 2.2 and later only.)

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

Property Value

The date and time when the event was logged. The system tries to be as precise as possible.

Applies to