Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CorExitProcess Function

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.

Note 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.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: 4.6 RC, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2015 Microsoft