Udostępnij za pośrednictwem


EBindPolicyLevels Enumeration

Provides flags to specify the level at which to apply or modify assembly policy.

typedef enum {
    ePolicyLevelNone         = 0x0,
    ePolicyLevelRetargetable = 0x1,
    ePolicyUnifiedToCLR      = 0x2,
    ePolicyLevelApp          = 0x4,
    ePolicyLevelPublisher    = 0x8,
    ePolicyLevelHost         = 0x10,
    ePolicyLevelAdmin        = 0x20
    ePolicyPortability       = 0x40
} EBindPolicyLevels;

Members

Member

Description

ePolicyLevelAdmin

Specifies that policy should be applied at the administrator level.

ePolicyLevelApp

Specifies that policy should be applied at the application level.

ePolicyLevelHost

Specifies that policy should be applied at the host level.

ePolicyLevelNone

Specifies no policy-level flags.

ePolicyLevelPublisher

Specifies that policy should be applied at the publisher level.

ePolicyLevelRetargetable

Specifies that policy should be applicable at variable levels.

ePolicyPortability

Specifies that policy should support portability between implementations of a .NET Framework assembly. See the <supportPortability> configuration file element.

ePolicyUnifiedToCLR

Specifies that policy should be unified to that of the common language runtime (CLR).

Remarks

This enumeration is passed to methods of the ICLRHostBindingPolicyManager interface to specify changes in application policy.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

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

See Also

Reference

ICLRAssemblyIdentityManager Interface

Other Resources

Hosting Enumerations