Export (0) Print
Expand All

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.

void CoEEShutDownCOM ();

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 note 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". 

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 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

Show:
© 2014 Microsoft