Uredi

Deli z drugimi prek


HostSecurityManagerOptions Enum

Definition

Specifies the security policy components to be used by the host security manager.

This enumeration supports a bitwise combination of its member values.

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
Inheritance
HostSecurityManagerOptions
Attributes

Fields

Name Value Description
None 0

Use none of the security policy components.

HostAppDomainEvidence 1

Use the application domain evidence.

HostPolicyLevel 2

Use the policy level specified in the DomainPolicy property.

HostAssemblyEvidence 4

Use the assembly evidence.

HostDetermineApplicationTrust 8

Route calls to the DetermineApplicationTrust(ActivationContext, TrustManagerContext) method to the DetermineApplicationTrust(Evidence, Evidence, TrustManagerContext) method first.

HostResolvePolicy 16

Use the ResolvePolicy(Evidence) method to resolve the application evidence.

AllFlags 31

Use all security policy components.

Applies to