共用方式為


LoggerContext.ActivityId Property

Definition

Gets or set a Guid that will be used in the call to EventSource.SetCurrentThreadActivityId before logging.

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

Property Value

Applies to