JustAProgrammer.ADPR.ADPRHost.SetShouldExit C# (CSharp) 메소드

SetShouldExit() 공개 메소드

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.
리턴 void
        public override void SetShouldExit(int exitCode)
        {
            State.ShouldExit = true;
            State.ExitCode = exitCode;
        }