Uredi

Deli z drugimi prek


PreBindAssemblyEx Function

Gets the post-policy display name for an assembly.

This function supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Syntax

HRESULT PreBindAssemblyEx (  
    [in]  IApplicationContext *pAppCtx,  
    [in]  IAssemblyName       *pName,  
    [in]  IAssembly           *pAsmParent,  
    [in]  LPCWSTR             pwzRuntimeVersion,  
    [out] IAssemblyName       **ppNamePostPolicy,  
    [in]  LPVOID              pvReserved  
 );  

Parameters

pAppCtx
[in] Identifies the application context.

pName
[in] Identifies the assembly name.

pAsmParent
[in] Identifies the parent assembly. This parameter is ignored.

pwzRuntimeVersion
[in] Identifies the runtime version.

ppNamePostPolicy
[out] Contains the post-policy display name.

pvReserved
[in] Reserved for future extensibility. pvReserved must be a null reference.

Remarks

The ppNamePostPolicy output parameter is set only if the function returns HRESULT FUSION_E_REF_DEF_MISMATCH. Otherwise, it is null.

Requirements

Platforms: See System Requirements.

Header: Fusion.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 2.0

See also