EHostBindingPolicyModifyFlags Enumeration

Allows the host to specify the type of redirection the common language runtime (CLR) should perform when applying policy modifications from a source assembly to a target assembly.

typedef enum _hostBindingPolicyModifyFlags {
    HOST_BINDING_POLICY_MODIFY_DEFAULT  = 0,
    HOST_BINDING_POLICY_MODIFY_CHAIN    = 1,
    HOST_BINDING_POLICY_MODIFY_REMOVE   = 2,
    HOST_BINDING_POLICY_MODIFY_MAX      = 3
} EHostBindingPolicyModifyFlags;

Members

Member Description

HOST_BINDING_POLICY_MODIFY_CHAIN

Specifies that the CLR will chain policy values of the source assembly onto those of the target assembly.

HOST_BINDING_POLICY_MODIFY_DEFAULT

Specifies that the CLR will perform the default action.

HOST_BINDING_POLICY_MODIFY_MAX

Specifies that the CLR will set the policy values of the target assembly to the maximum values.

HOST_BINDING_POLICY_MODIFY_REMOVE

Specifies that the CLR will replace policy values of the target assembly with those of the source assembly.

Remarks

The ICLRHostBindingPolicyManager::ModifyApplicationPolicy Method method takes a parameter of type EHostBindingPolicyModifyFlags.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0

See Also

Reference

ICLRHostBindingPolicyManager Interface

Other Resources

Hosting Enumerations