Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Runspace.OnAvailabilityChanged Method (RunspaceAvailabilityEventArgs)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Raises the AvailabilityChanged event when the state of the currently invoked pipeline changes. This method is introduced in Windows PowerShell 2.0.

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

protected abstract void OnAvailabilityChanged(
	RunspaceAvailabilityEventArgs e
)

For more information about runspaces and runspace pools, see Host Application Runspaces.

System_CAPS_noteNote

The user at the command line may not necessarily realize that the commands that Windows PowerShell runs are being processed within a runspace. From the command-line user’s point of view, commands are run in a Windows PowerShell session. From a host application’s point of view, commands are run within a runspace.

Return to top

Community Additions

Show: