Прочетете на английски Редактиране

Споделяне чрез


EventWrittenEventArgs.TimeStamp Property

Definition

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

C#
public DateTime TimeStamp { get; }

Property Value

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

Applies to

Продукт Версии
.NET Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1