IHostSupportsInteractiveSession.PushRunspace(Runspace) Method

Definition

Called by the engine to notify the host that a runspace push has been requested.

public:
 void PushRunspace(System::Management::Automation::Runspaces::Runspace ^ runspace);
public void PushRunspace(System.Management.Automation.Runspaces.Runspace runspace);
abstract member PushRunspace : System.Management.Automation.Runspaces.Runspace -> unit
Public Sub PushRunspace (runspace As Runspace)

Parameters

runspace
Runspace

The runspace to push. This runspace must be a remote runspace and not a locally created runspace.

Exceptions

The specified runspace is not a remote runspace.

Applies to

See also