Activity.Events 属性

定义

获取附加到此活动的所有活动事件的列表。

public:
 property System::Collections::Generic::IEnumerable<System::Diagnostics::ActivityEvent> ^ Events { System::Collections::Generic::IEnumerable<System::Diagnostics::ActivityEvent> ^ get(); };
public System.Collections.Generic.IEnumerable<System.Diagnostics.ActivityEvent> Events { get; }
member this.Events : seq<System.Diagnostics.ActivityEvent>
Public ReadOnly Property Events As IEnumerable(Of ActivityEvent)

属性值

附加到此活动的活动事件的枚举。 如果活动没有事件, 将返回空枚举。

适用于