Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Provides flags to specify the level at which to apply or modify assembly policy.
Syntax
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 System Requirements.
Header: MSCorEE.h
Library: MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.