Activity.ParentId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ID of this activity's parent.
public:
property System::String ^ ParentId { System::String ^ get(); };
public string? ParentId { get; }
public string ParentId { get; }
member this.ParentId : string
Public ReadOnly Property ParentId As String
Property Value
The parent ID, if one exists, or null
if it does not.
Remarks
If the parent for this Activity comes from outside the process, the Activity does not have a parent but may have a parent ID (which was deserialized from the parent).
This property value can be null
if this is a root Activity (that is, it has no Parent). For more information, see ID format.