Метод | Описание | |
---|---|---|
EnterNestedPrompt ( ) : void |
Instructs the host to interrupt the currently running pipeline and start a new nested input loop. Not implemented by this example class. The call fails with an exception.
|
|
ExitNestedPrompt ( ) : void |
Instructs the host to exit the currently running input loop. Not implemented by this example class. The call fails with an exception.
|
|
NotifyBeginApplication ( ) : void |
Notifies the host that the Windows PowerShell runtime is about to execute a legacy command-line application. Typically it is used to restore state that was changed by a child process after the child exits. This implementation does nothing and simply returns.
|
|
NotifyEndApplication ( ) : void |
Notifies the host that the Windows PowerShell engine has completed the execution of a legacy command. Typically it is used to restore state that was changed by a child process after the child exits. This implementation does nothing and simply returns.
|
|
PSRemoteHost ( |
||
PopRunspace ( ) : void |
Requests to close a PSSession.
|
|
PushRunspace ( System.Management.Automation.Runspaces.Runspace runspace ) : void |
Requests to open a PSSession.
|
|
SetShouldExit ( int exitCode ) : void |
Indicate to the host application that exit has been requested. Pass the exit code that the host application should use when exiting the process.
|
public PSRemoteHost ( |
||
buffers | ||
callbacks | IPSRemoteHostCallback | |
Результат | System |
public PushRunspace ( System.Management.Automation.Runspaces.Runspace runspace ) : void | ||
runspace | System.Management.Automation.Runspaces.Runspace | Runspace to use. |
Результат | void |
public SetShouldExit ( int exitCode ) : void | ||
exitCode | int | The exit code that the host application should use. |
Результат | void |