共用方式為


LogEntry<TState>.EventId 屬性

定義

取得記錄事件識別碼。

public:
 property Microsoft::Extensions::Logging::EventId EventId { Microsoft::Extensions::Logging::EventId get(); };
public Microsoft.Extensions.Logging.EventId EventId { get; }
member this.EventId : Microsoft.Extensions.Logging.EventId
Public ReadOnly Property EventId As EventId

屬性值

EventId 執行個體。

適用於