JustAProgrammer.ADPR.ADPRHost.SetShouldExit C# (CSharp) Méthode

SetShouldExit() public méthode

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