ICLRRuntimeInfo Interface
Provides methods that return information about a specific common language runtime (CLR), including version, directory, and load status. This interface also provides runtime-specific functionality without initializing the runtime. It includes the runtime-relative LoadLibrary method, the runtime module-specific GetProcAddress method, and runtime-provided interfaces through the GetInterface method.
Methods
Method |
Description |
---|---|
Binds this runtime for all legacy CLR version 2 activation policy decisions. |
|
Gets the CLR startup flags and host configuration file. |
|
Loads the CLR into the current process and returns runtime interface pointers, such as ICLRRuntimeHost, ICLRStrongName and IMetaDataDispenser. This method supersedes all the CorBindTo* functions. |
|
Gets the address of a specified function that was exported from the CLR associated with this interface. This method supersedes the GetRealProcAddress method. |
|
Gets the installation directory of the CLR associated with this interface. This method supersedes the GetCORSystemDirectory method. |
|
Gets common language runtime (CLR) version information associated with a given ICLRRuntimeInfo interface. This method supersedes the GetRequestedRuntimeInfo and GetRequestedRuntimeVersion methods. |
|
Indicates whether the runtime associated with this interface can be loaded into the current process, taking into account other runtimes that might already be loaded into the process. |
|
Indicates whether the CLR associated with the ICLRRuntimeInfo interface is loaded into a process. |
|
Indicates whether the CLR that is associated with the ICLRRuntimeInfo interface has been started. |
|
Translates an HRESULT value into an appropriate error message for the specified culture. This method supersedes the LoadStringRC and LoadStringRCEx methods. |
|
Loads a library from the framework directory of the CLR represented by an ICLRRuntimeInfo interface. This method supersedes the LoadLibraryShim method. |
|
Sets the CLR startup flags and host configuration file. |
Requirements
Platforms: See .NET Framework System Requirements.
Header: MetaHost.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 4