HostSecurityManagerOptions HostSecurityManagerOptions HostSecurityManagerOptions HostSecurityManagerOptions Enum

定义

指定将由宿主安全管理器使用的安全策略组件。Specifies the security policy components to be used by the host security manager.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class HostSecurityManagerOptions
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum HostSecurityManagerOptions
type HostSecurityManagerOptions = 
Public Enum HostSecurityManagerOptions
继承
HostSecurityManagerOptionsHostSecurityManagerOptionsHostSecurityManagerOptionsHostSecurityManagerOptions
属性

字段

AllFlags AllFlags AllFlags AllFlags 31

使用所有安全策略组件。Use all security policy components.

HostAppDomainEvidence HostAppDomainEvidence HostAppDomainEvidence HostAppDomainEvidence 1

使用应用程序域证据。Use the application domain evidence.

HostAssemblyEvidence HostAssemblyEvidence HostAssemblyEvidence HostAssemblyEvidence 4

使用程序集证据。Use the assembly evidence.

HostDetermineApplicationTrust HostDetermineApplicationTrust HostDetermineApplicationTrust 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 HostPolicyLevel HostPolicyLevel HostPolicyLevel 2

使用在 DomainPolicy 属性中指定的策略级别。Use the policy level specified in the DomainPolicy property.

HostResolvePolicy HostResolvePolicy HostResolvePolicy HostResolvePolicy 16

使用 ResolvePolicy(Evidence) 方法来解析应用程序证据。Use the ResolvePolicy(Evidence) method to resolve the application evidence.

None None None None 0

不使用其中任何一个安全策略组件。Use none of the security policy components.

适用于