CorExitProcess Function

Updated: June 2011

Shuts down the current unmanaged process.

This function has been deprecated in the .NET Framework version 4. Use the ICLRMetaHost::ExitProcess method instead.

void STDMETHODCALLTYPE CorExitProcess ( 
  int  exitCode
);

Parameters

  • exitCode
    An integer that specifies the process exit code.

Remarks

Note

Beginning with the .NET Framework version 4, CorExitProcess exits every started runtime in the process, not just the runtime to which the legacy APIs have been bound.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

.NET Framework 1.1 and 2.0 Hosting Global Static Functions

Change History

Date

History

Reason

June 2011

Correction: Parameter is not [out].

Customer feedback.