Edit

Share via


Activity.Events Property

Definition

Gets the list of all the activity events attached to this activity.

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)

Property Value

An enumeration of activity events attached to this activity. If the activity has no events, returns an empty enumeration.

Applies to