Runspace.UpdateRunspaceAvailability(RunspaceState, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
protected void UpdateRunspaceAvailability (System.Management.Automation.Runspaces.RunspaceState runspaceState, bool raiseEvent);
member this.UpdateRunspaceAvailability : System.Management.Automation.Runspaces.RunspaceState * bool -> unit
Protected Sub UpdateRunspaceAvailability (runspaceState As RunspaceState, raiseEvent As Boolean)
Parameters
- runspaceState
- RunspaceState
- raiseEvent
- Boolean
Remarks
The possible runspace states are: BeforeOpen Opening Opened Closed Closing Broken