Export (0) Print
Expand All

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;

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.

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

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Show:
© 2014 Microsoft