Activity.Context Property

Definition

Gets the context of the activity. Context becomes valid only if the activity has been started.

public:
 property System::Diagnostics::ActivityContext Context { System::Diagnostics::ActivityContext get(); };
public System.Diagnostics.ActivityContext Context { get; }
member this.Context : System.Diagnostics.ActivityContext
Public ReadOnly Property Context As ActivityContext

Property Value

The context of the activity, if the activity has been started; otherwise, returns the default context.

Applies to