Delen via


Runspace.UpdateRunspaceAvailability(RunspaceState, Boolean) 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);
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

Applies to