PSChildJobProxy.JobDataAdded Event

Occurs when data has been added to one of the job object's stream collections. The event arguments (in the JobDataAddedEventArgs class) include the job itself, the data type (PowerShellStreamType), which indicates the type of collection with the added data, and the index.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PSChildJobProxy
Dim handler As EventHandler(Of JobDataAddedEventArgs)

AddHandler instance.JobDataAdded, handler

public event EventHandler<JobDataAddedEventArgs> JobDataAdded
/** @event */
public void add_JobDataAdded (EventHandler<JobDataAddedEventArgs> value)

/** @event */
public void remove_JobDataAdded (EventHandler<JobDataAddedEventArgs> value)

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft