ICLRMetaHost::ExitProcess Method

Attempts to shut down all loaded runtimes gracefully and then terminates the process. Supersedes the CorExitProcess function.

HRESULT ExitProcess (
    [in] INT32 iExitCode);


[in] The exit code for the process.

This method never returns, so its return value is undefined.

Platforms: See .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4.6 Preview, 4.5.2, 4.5.1, 4.5, 4

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft