ContainerParentJob.AddChildJob(Job2) Method

Definition

Add a child job to the parent job.

public:
 void AddChildJob(System::Management::Automation::Job2 ^ childJob);
public void AddChildJob (System.Management.Automation.Job2 childJob);
member this.AddChildJob : System.Management.Automation.Job2 -> unit
Public Sub AddChildJob (childJob As Job2)

Parameters

childJob
Job2

Child job to add.

Exceptions

Thrown if the job is disposed.

Thrown if child being added is null.

Applies to