共用方式為


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)

屬性值

附加至此活動的活動事件列舉。 如果活動沒有事件,則傳回空的列舉。

適用於