Share via


Url 클래스

정의

주의

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

코드 어셈블리의 원본 URL을 정책 평가의 증명 정보로 제공합니다. 이 클래스는 상속될 수 없습니다.

public ref class Url sealed : System::Security::Policy::EvidenceBase, System::Security::Policy::IIdentityPermissionFactory
public ref class Url sealed : System::Security::Policy::IIdentityPermissionFactory
[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 Url : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
public sealed class Url : System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Url : System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Url : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
public sealed class Url : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type Url = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
[<System.Serializable>]
type Url = class
    interface IIdentityPermissionFactory
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Url = class
    interface IIdentityPermissionFactory
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Url = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
type Url = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
Public NotInheritable Class Url
Inherits EvidenceBase
Implements IIdentityPermissionFactory
Public NotInheritable Class Url
Implements IIdentityPermissionFactory
상속
상속
Url
특성
구현

설명

주의

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

증거가 있으면 Url 부여 집합에 가 UrlIdentityPermission 생성됩니다. 에 대한 UrlIdentityPermissionUrlIdentityPermission 가 있는 Demand 경우 증명 정보에 해당하는 Url 는 요청된 권한과 비교됩니다.

프로토콜(HTTP, HTTPS, FTP) 및 파일을 포함하여 전체 URL을 고려합니다. 예를 들어 는 http://www.fourthcoffee.com/process/grind.htm 전체 URL입니다.

URL은 정확히 일치하거나 최종 위치의 와일드카드로 일치시킬 수 있습니다. 예를 들어 http://www.fourthcoffee.com/process/* 은 와일드카드 URL입니다.

생성자

Url(String)
사용되지 않음.

코드 어셈블리의 원본 URL을 사용하여 Url 클래스의 새 인스턴스를 초기화합니다.

속성

Value
사용되지 않음.

코드 어셈블리의 원본 URL을 가져옵니다.

메서드

Clone()
사용되지 않음.

현재 인스턴스의 복사본인 새 개체를 만듭니다.

Clone()
사용되지 않음.

현재 인스턴스의 전체 복사본인 새 개체를 만듭니다.

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

증명 정보 개체의 새 복사본을 만듭니다.

CreateIdentityPermission(Evidence)
사용되지 않음.

Url 증명 정보 클래스의 현재 인스턴스에 해당하는 ID 권한을 만듭니다.

Equals(Object)
사용되지 않음.

현재 Url 증명 정보 개체가 지정된 개체와 같은지 비교합니다.

GetHashCode()
사용되지 않음.

현재 URL의 해시 코드를 가져옵니다.

GetType()
사용되지 않음.

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

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

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

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

현재 Url의 문자열 표현을 반환합니다.

적용 대상