HostSecurityManagerOptions 枚举
定义
指定将由宿主安全管理器使用的安全策略组件。Specifies the security policy components to be used by the host security manager.
此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。
public enum class HostSecurityManagerOptions
[System.Flags]
public enum HostSecurityManagerOptions
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum HostSecurityManagerOptions
[<System.Flags>]
type HostSecurityManagerOptions =
[<System.Flags>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type HostSecurityManagerOptions =
Public Enum HostSecurityManagerOptions
- 继承
- 属性
字段
| AllFlags | 31 | 使用所有安全策略组件。Use all security policy components. |
| HostAppDomainEvidence | 1 | 使用应用程序域证据。Use the application domain evidence. |
| HostAssemblyEvidence | 4 | 使用程序集证据。Use the assembly evidence. |
| HostDetermineApplicationTrust | 8 | 将对 DetermineApplicationTrust(ActivationContext, TrustManagerContext) 方法的调用首先传送到 DetermineApplicationTrust(Evidence, Evidence, TrustManagerContext) 方法。Route calls to the DetermineApplicationTrust(ActivationContext, TrustManagerContext) method to the DetermineApplicationTrust(Evidence, Evidence, TrustManagerContext) method first. |
| HostPolicyLevel | 2 | 使用在 DomainPolicy 属性中指定的策略级别。Use the policy level specified in the DomainPolicy property. |
| HostResolvePolicy | 16 | 使用 ResolvePolicy(Evidence) 方法来解析应用程序证据。Use the ResolvePolicy(Evidence) method to resolve the application evidence. |
| None | 0 | 不使用其中任何一个安全策略组件。Use none of the security policy components. |