語言

LoggerContext.ActivityId 屬性

定義

取得或設定 a Guid 會用於呼叫 EventSource.SetCurrentThreadActivityId 的日誌,然後再進行日誌記錄。

public Guid ActivityId { get; set; }
member this.ActivityId : Guid with get, set
Public Property ActivityId As Guid

屬性值

適用於