Windows Dev Center

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. Introduced in Windows PowerShell 3.0.

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

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

© 2015 Microsoft