IHostSupportsInteractiveSession
Interface
Definition
This interface needs to be implemented by PSHost objects that want to support the PushRunspace and PopRunspace functionality.
public interface IHostSupportsInteractiveSession
Properties
| IsRunspacePushed |
True if a runspace is pushed; false otherwise. |
| Runspace |
Returns the current runspace associated with this host. |
Methods
| PopRunspace() |
Called by the engine to notify the host that a runspace pop has been requested. |
| PushRunspace(Runspace) |
Called by the engine to notify the host that a runspace push has been requested. |