EventSource.CurrentThreadActivityId 属性

定义

获取当前线程的活动 ID。

public:
 static property Guid CurrentThreadActivityId { Guid get(); };
public static Guid CurrentThreadActivityId { [System.Security.SecurityCritical] get; }
public static Guid CurrentThreadActivityId { get; }
[<get: System.Security.SecurityCritical>]
static member CurrentThreadActivityId : Guid
static member CurrentThreadActivityId : Guid
Public Shared ReadOnly Property CurrentThreadActivityId As Guid

属性值

当前线程的活动 ID。

属性

适用于

另请参阅