Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Attempts to shut down all loaded runtimes gracefully and then terminates the process. Supersedes the CorExitProcess function.
Syntax
HRESULT ExitProcess (
[in] INT32 iExitCode);
Parameters
iExitCode
[in] The exit code for the process.
Return Value
This method never returns, so its return value is undefined.
Remarks
Requirements
Platforms: See System Requirements.
Header: MetaHost.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 4