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