PowerShellHtmlConsole.PSRemoteHost.SetShouldExit C# (CSharp) Method

SetShouldExit() public method

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 SetShouldExit ( int exitCode ) : void
exitCode int The exit code that the host application should use.
return void
        public override void SetShouldExit(int exitCode)
        {
            _callbacks.Exit(exitCode);
        }