HostProtectionException.ProtectedResources 속성

정의

부분 신뢰 코드에 액세스할 수 없는 호스트 보호 리소스를 가져오거나 설정합니다.

public:
 property System::Security::Permissions::HostProtectionResource ProtectedResources { System::Security::Permissions::HostProtectionResource get(); };
public System.Security.Permissions.HostProtectionResource ProtectedResources { get; }
member this.ProtectedResources : System.Security.Permissions.HostProtectionResource
Public ReadOnly Property ProtectedResources As HostProtectionResource

속성 값

HostProtectionResource

액세스할 수 없는 호스트 보호 범주를 식별하는 HostProtectionResource 값의 비트 조합입니다. 기본값은 None입니다.

설명

이 속성은 호스트가 완전히 신뢰할 수 없는 코드에 액세스할 수 없는 것으로 지정한 호스트 보호 범주를 식별합니다.

적용 대상