Delen via


.NET Framework 4 Hosting Interfaces

This section describes interfaces that unmanaged hosts can use to integrate the common language runtime (CLR) in the .NET Framework version 4 and later into their applications. These interfaces provide methods for a host to configure and load the runtime into a process.

All .NET Framework 4 hosting interfaces have the following characteristics:

  • They use lifetime management (AddRef and Release), encapsulation (implicit context) and QueryInterface from COM.

  • There do not use COM types such as BSTR, SAFEARRAY, or VARIANT.

  • There are no apartment models, aggregation, or registry activation that use the CoCreateInstance function.

In This Section