set_ExitCode()

Environment::set_ExitCode(int) method

Sets the specified value as exit code for the current process.

static void System::Environment::set_ExitCode(int value)

Arguments

ParameterTypeDescription
valueintThe exit code to be set for the current process

See Also