EventWrittenEventArgs.RelatedActivityId 属性

定义

获取与当前实例表示的活动相关的活动的标识符。

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

属性值

相关活动的标识符或 Empty(如果没有相关活动)。

属性

适用于

另请参阅