CorExitProcess Function
Shuts down the current unmanaged process.
This function has been deprecated in the .NET Framework 4. Use the ICLRMetaHost::ExitProcess method instead.
Syntax
void STDMETHODCALLTYPE CorExitProcess (
int exitCode
);
Parameters
exitCode
An integer that specifies the process exit code.
Remarks
Note
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.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: MSCorEE.dll
.NET Framework Versions: Available since 1.0
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.