EventSource.CurrentThreadActivityId 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前线程的活动 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。
- 属性
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈