Compartilhar via


RegisterAssembly.ResolveRef(Assembly) Method

Definition

Callback method for finding type libraries for given assemblies. If we are here, it means the type library we're looking for is not in the current directory and it's not registered. Currently we assume that all dependent type libs are already registered.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual System::Object ^ ResolveRef(System::Reflection::Assembly ^ assemblyToResolve);
public object ResolveRef (System.Reflection.Assembly assemblyToResolve);
abstract member ResolveRef : System.Reflection.Assembly -> obj
override this.ResolveRef : System.Reflection.Assembly -> obj
Public Function ResolveRef (assemblyToResolve As Assembly) As Object

Parameters

assemblyToResolve
Assembly

The assembly to find type libraries for.

Returns

null in all cases.

Implements

Remarks

Logs an error indicating that the specified assembly is not registered for COM interop in all cases.

Applies to