Share via


PSJobProxy.ReceiveJob Method

Definition

Overloads

ReceiveJob()

Will begin streaming data for a job object created by the "create" method that is in a not started state.

ReceiveJob(EventHandler<JobDataAddedEventArgs>, EventHandler<JobStateEventArgs>)

Will begin streaming data for a job object created by the "create" method that is in a not started state.

ReceiveJob()

Will begin streaming data for a job object created by the "create" method that is in a not started state.

public:
 void ReceiveJob();
public:
 void ReceiveJob();
void ReceiveJob();
public void ReceiveJob ();
member this.ReceiveJob : unit -> unit
Public Sub ReceiveJob ()

Applies to

ReceiveJob(EventHandler<JobDataAddedEventArgs>, EventHandler<JobStateEventArgs>)

Will begin streaming data for a job object created by the "create" method that is in a not started state.

public:
 void ReceiveJob(EventHandler<System::Management::Automation::JobDataAddedEventArgs ^> ^ dataAdded, EventHandler<System::Management::Automation::JobStateEventArgs ^> ^ stateChanged);
public void ReceiveJob (EventHandler<System.Management.Automation.JobDataAddedEventArgs> dataAdded, EventHandler<System.Management.Automation.JobStateEventArgs> stateChanged);
member this.ReceiveJob : EventHandler<System.Management.Automation.JobDataAddedEventArgs> * EventHandler<System.Management.Automation.JobStateEventArgs> -> unit
Public Sub ReceiveJob (dataAdded As EventHandler(Of JobDataAddedEventArgs), stateChanged As EventHandler(Of JobStateEventArgs))

Parameters

dataAdded
EventHandler<JobDataAddedEventArgs>

delegate used to subscribe to data added events on the child jobs

stateChanged
EventHandler<JobStateEventArgs>

delegate used to subscribe to state changed events on the child jobs

Applies to