IHostSupportsInteractiveSession Interface
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.
This interface needs to be implemented by PSHost objects that want to support the PushRunspace and PopRunspace functionality.
public interface class IHostSupportsInteractiveSession
public interface IHostSupportsInteractiveSession
[System.Runtime.CompilerServices.NullableContext(2)]
public interface IHostSupportsInteractiveSession
type IHostSupportsInteractiveSession = interface
[<System.Runtime.CompilerServices.NullableContext(2)>]
type IHostSupportsInteractiveSession = interface
Public Interface IHostSupportsInteractiveSession
- Attributes
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. |