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
특성
구현

설명

Caution

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

Url 증명 정보가 있으면 권한 부여 집합에서 UrlIdentityPermission 생성됩니다. for DemandUrlIdentityPermissionUrlIdentityPermission 있는 경우 증거에 해당하는 Url 값은 요청된 사용 권한과 비교됩니다.

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

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

생성자

Name Description
Url(String)
사용되지 않음.

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

속성

Name Description
Value
사용되지 않음.

코드 어셈블리가 시작되는 URL을 가져옵니다.

메서드

Name Description
Clone()
사용되지 않음.

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

Clone()
사용되지 않음.

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

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

Evidence 개체의 새 복사본을 만듭니다.

CreateIdentityPermission(Evidence)
사용되지 않음.

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

Equals(Object)
사용되지 않음.

현재 Url 증명 정보 개체를 지정된 개체와 비교하여 동등성을 갖습니다.

GetHashCode()
사용되지 않음.

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

GetType()
사용되지 않음.

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

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

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

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

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

적용 대상