Shuts down the current unmanaged process.
This function has been deprecated in the .NET Framework 4. Use the ICLRMetaHost::ExitProcess method instead.
void STDMETHODCALLTYPE CorExitProcess ( int exitCode );
An integer that specifies the process exit code.
Beginning with the .NET Framework 4,
CorExitProcess exits every started runtime in the process, not just the runtime to which the legacy APIs have been bound.
Platforms: See System Requirements.
.NET Framework Versions: Available since 1.0