Runspace.UpdateRunspaceAvailability Method

Definition

Used to update the runspace availability event when the state of the runspace changes

protected void UpdateRunspaceAvailability (System.Management.Automation.Runspaces.RunspaceState runspaceState, bool raiseEvent);
Parameters
runspaceState
RunspaceState
raiseEvent
Boolean

Remarks

The possible runspace states are: BeforeOpen Opening Opened Closed Closing Broken