HostProtectionAttribute 생성자

정의

HostProtectionAttribute 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
HostProtectionAttribute()

기본값을 사용하여 클래스의 새 인스턴스를 HostProtectionAttribute 초기화합니다.

HostProtectionAttribute(SecurityAction)

지정된 HostProtectionAttribute 값을 사용하여 클래스의 SecurityAction 새 인스턴스를 초기화합니다.

HostProtectionAttribute()

Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs

기본값을 사용하여 클래스의 새 인스턴스를 HostProtectionAttribute 초기화합니다.

public:
 HostProtectionAttribute();
public HostProtectionAttribute();
Public Sub New ()

설명

이 생성자는 모든 부울 속성을 .로 설정하여 HostProtectionAttribute만듭니다false.

적용 대상

HostProtectionAttribute(SecurityAction)

Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs
Source:
HostProtectionAttribute.cs

지정된 HostProtectionAttribute 값을 사용하여 클래스의 SecurityAction 새 인스턴스를 초기화합니다.

public:
 HostProtectionAttribute(System::Security::Permissions::SecurityAction action);
public HostProtectionAttribute(System.Security.Permissions.SecurityAction action);
new System.Security.Permissions.HostProtectionAttribute : System.Security.Permissions.SecurityAction -> System.Security.Permissions.HostProtectionAttribute
Public Sub New (action As SecurityAction)

매개 변수

action
SecurityAction

값 중 SecurityAction 하나입니다.

예외

action 가 아닙니다 LinkDemand.

설명

이 생성자를 사용하면 안 됩니다. 인프라 사용을 위한 것입니다.

적용 대상