PeerCollaborationPermission 클래스

정의

주의

Code Access Security is not supported or honored by the runtime.

System.Net.PeerToPeer.Collaboration 개체 권한을 정의하거나 이 권한에 사용되는 값을 지정합니다.

public ref class PeerCollaborationPermission sealed : System::Security::CodeAccessPermission, System::Security::Permissions::IUnrestrictedPermission
public sealed class PeerCollaborationPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class PeerCollaborationPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
[System.Serializable]
public sealed class PeerCollaborationPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
type PeerCollaborationPermission = class
    inherit CodeAccessPermission
    interface IUnrestrictedPermission
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type PeerCollaborationPermission = class
    inherit CodeAccessPermission
    interface IUnrestrictedPermission
[<System.Serializable>]
type PeerCollaborationPermission = class
    inherit CodeAccessPermission
    interface IUnrestrictedPermission
Public NotInheritable Class PeerCollaborationPermission
Inherits CodeAccessPermission
Implements IUnrestrictedPermission
상속
PeerCollaborationPermission
특성
구현

설명

주의

CAS(코드 액세스 보안)는 .NET Framework 및 .NET의 모든 버전에서 더 이상 사용되지 않습니다. 최신 버전의 .NET은 CAS 주석을 준수하지 않으며 CAS 관련 API를 사용하는 경우 오류가 발생합니다. 개발자는 보안 작업을 수행하는 대체 수단을 찾아야 합니다.

기본 System.Security.Permissions 인터넷 영역 애플리케이션에 부여 된 권한이 없음 및 모든 로컬 및 인트라넷 영역 애플리케이션에서 협업 서비스에 액세스 하도록 허용 합니다. 즉, 기본 권한 변경, 모든 링크-로컬 및 사이트-로컬 없는 경우 애플리케이션 피어-투-피어 협업 서비스에 액세스할 수 있지만 전역 애플리케이션에서는 액세스할 수 없습니다.

이 클래스는 파생할 수 없습니다.

생성자

PeerCollaborationPermission(PermissionState)
사용되지 않음.

PeerCollaborationPermission의 새 인스턴스를 초기화합니다. 이 인스턴스에 대한 초기 PermissionState이 생성자가 호출될 때 전달됩니다.

메서드

Assert()
사용되지 않음.

스택의 상위 호출자에게 리소스에 액세스할 수 있는 권한이 부여되지 않더라도 호출 코드가 이 메서드를 호출하는 코드를 통해 사용 권한 요구로 보호되는 리소스에 액세스할 수 있음을 선언합니다. Assert()를 사용하면 보안 문제가 발생할 수 있습니다.

(다음에서 상속됨 CodeAccessPermission)
Copy()
사용되지 않음.

현재 PeerCollaborationPermission의 복사본을 만들어 반환합니다.

Demand()
사용되지 않음.

현재 인스턴스에서 지정한 사용 권한이 호출 스택의 일부 상위 호출자에만 부여된 경우 런타임에 SecurityException을 강제로 발생시킵니다.

(다음에서 상속됨 CodeAccessPermission)
Deny()
사용되지 않음.
사용되지 않음.

호출 스택의 상위 호출자가 이 메서드를 호출하는 코드를 통해 현재 인스턴스에서 지정한 리소스에 액세스하지 못하게 합니다.

(다음에서 상속됨 CodeAccessPermission)
Equals(Object)
사용되지 않음.

지정한 CodeAccessPermission 개체가 현재 CodeAccessPermission과 같은지 여부를 확인합니다.

(다음에서 상속됨 CodeAccessPermission)
FromXml(SecurityElement)
사용되지 않음.

보안 개체를 인코딩하기 위한 XML 개체 모델을 나타냅니다.

GetHashCode()
사용되지 않음.

해시 알고리즘과 해시 테이블 같은 데이터 구조에 사용하기 적합한 CodeAccessPermission 개체에 대한 해시 코드를 가져옵니다.

(다음에서 상속됨 CodeAccessPermission)
GetType()
사용되지 않음.

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
Intersect(IPermission)
사용되지 않음.

현재 PeerCollaborationPermission과 지정된 target 권한의 교집합에 해당하는 사용 권한을 만들어 반환합니다.

IsSubsetOf(IPermission)
사용되지 않음.

현재 PeerCollaborationPermission이 지정된 target 권한의 하위 집합인지 여부를 확인합니다.

IsUnrestricted()
사용되지 않음.

현재 PeerCollaborationPermission이 무제한인지 여부를 지정하는 값을 반환합니다.

MemberwiseClone()
사용되지 않음.

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
PermitOnly()
사용되지 않음.

호출 스택의 상위 호출자가 이 메서드를 호출하는 코드를 통해 현재 인스턴스에서 지정한 리소스를 제외한 모든 리소스에 액세스할 수 없게 합니다.

(다음에서 상속됨 CodeAccessPermission)
ToString()
사용되지 않음.

현재 권한 개체의 문자열 표현을 만들고 반환합니다.

(다음에서 상속됨 CodeAccessPermission)
ToXml()
사용되지 않음.

PeerCollaborationPermission 및 해당 사용 권한의 현재 상태에 대한 XML 인코딩을 만듭니다.

Union(IPermission)
사용되지 않음.

현재 PeerCollaborationPermission과 지정된 target 사용 권한의 합집합에 해당하는 사용 권한을 만듭니다.

적용 대상

추가 정보