CoEEShutDownCOM Function

Forces the common language runtime (CLR) to release all interface pointers it holds inside runtime callable wrappers (RCW). This has the effect of releasing all RCW caches. This global function is deprecated in the .NET Framework 4. Instead, use the entry point for a specific runtime.

Syntax

void CoEEShutDownCOM ();  

Remarks

The CoEEShutDownCOM function first releases all the RCWs in all contexts and in all caches, and then removes any tear-down notification existing in setup. No DLL unloading occurs.

Caution

This function affects all runtimes that are loaded into the process.

Beginning with the .NET Framework 4, call the entry point for this function on the specific runtime you want to affect. To get the entry point, call the ICLRRuntimeInfo::GetProcAddress method and specify "CoEEShutDownCOM".

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also