Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Provides methods for the host to evaluate current binding policy and communicate policy changes for a specified assembly.
interface ICLRHostBindingPolicyManager : IUnknown {
HRESULT EvaluatePolicy (
[in] LPCWSTR pwzReferenceIdentity,
[in] BYTE *pbApplicationPolicy,
[in] DWORD cbAppPolicySize,
[out, size_is(*pcchPostPolicyReferenceIdentity)] LPWSTR pwzPostPolicyReferenceIdentity,
[in, out] DWORD *pcchPostPolicyReferenceIdentity,
[out] DWORD *pdwPoliciesApplied
);
HRESULT ModifyApplicationPolicy (
[in] LPCWSTR pwzSourceAssemblyIdentity,
[in] LPCWSTR pwzTargetAssemblyIdentity,
[in] BYTE *pbApplicationPolicy,
[in] DWORD cbAppPolicySize,
[in] DWORD dwPolicyModifyFlags,
[out, size_is(*pcbNewAppPolicySize)] BYTE *pbNewApplicationPolicy,
[in, out] DWORD *pcbNewAppPolicySize
);
};
Methods
Method |
Description |
|---|---|
Evaluates binding policy on behalf of the host. |
|
ICLRHostBindingPolicyManager::ModifyApplicationPolicy Method |
Modifies the binding policy for the specified assembly, and creates a new version of the policy. |
Requirements
Platforms: See .NET Framework System Requirements.
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0
See Also
Reference
ICLRAssemblyIdentityManager Interface