EventLogEntry.TimeGenerated Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the local time at which this event was generated.
public:
property DateTime TimeGenerated { DateTime get(); };
public DateTime TimeGenerated { get; }
member this.TimeGenerated : DateTime
Public ReadOnly Property TimeGenerated As DateTime
Property Value
The local time at which this event was generated.
Remarks
This member holds the time that an event was generated. This might not be the same as the time when the event information was written to the event log. For the latter, read the TimeWritten property.
There is usually a lag between the time that an event is generated and the time it is logged. It is more important to know when the event was generated, unless you want to see if there is a significant lag in logging. That can happen if your log files are on a different server and you are experiencing a bottleneck.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示