ICLRMetaHost::ExitProcess Method
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
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.