Editar

Compartilhar via


Activity.Parent Property

Definition

Gets the parent Activity that created this activity.

public:
 property System::Diagnostics::Activity ^ Parent { System::Diagnostics::Activity ^ get(); };
public System.Diagnostics.Activity? Parent { get; }
public System.Diagnostics.Activity Parent { get; }
member this.Parent : System.Diagnostics.Activity
Public ReadOnly Property Parent As Activity

Property Value

The parent of this Activity, if it is from the same process, or null if this instance has no parent (it is a root activity) or if the parent is from outside the process.

Applies to