次の方法で共有


ProgressRecord.ParentActivityId Property

Definition

Gets and sets the Id of the activity for which this record is a subordinate.

public:
 property int ParentActivityId { int get(); void set(int value); };
public:
 property int ParentActivityId { int get(); void set(int value); };
public int ParentActivityId { get; set; }
member this.ParentActivityId : int with get, set
Public Property ParentActivityId As Integer

Property Value

Remarks

Used to allow chaining of progress records (such as when one installation invokes a child installation). UI: normally not directly visible except as already displayed as its own activity. Usually a sub-activity will be positioned below and to the right of its parent.

A negative value (the default) indicates that the activity is not a subordinate.

May not be the same as ActivityId.

Applies to