UrlMembershipCondition Classe

Definição

Determina se um assembly pertence a um grupo de códigos testando sua URL.Determines whether an assembly belongs to a code group by testing its URL. Essa classe não pode ser herdada.This class cannot be inherited.

public ref class UrlMembershipCondition sealed : System::Security::ISecurityEncodable, System::Security::Policy::IMembershipCondition
public ref class UrlMembershipCondition sealed : System::Security::Policy::IMembershipCondition
public ref class UrlMembershipCondition sealed
public sealed class UrlMembershipCondition : System.Security.ISecurityEncodable, System.Security.Policy.IMembershipCondition
[System.Serializable]
public sealed class UrlMembershipCondition : System.Security.Policy.IMembershipCondition
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class UrlMembershipCondition
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class UrlMembershipCondition : System.Security.Policy.IMembershipCondition
type UrlMembershipCondition = class
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
    interface IMembershipCondition
[<System.Serializable>]
type UrlMembershipCondition = class
    interface IMembershipCondition
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type UrlMembershipCondition = class
    interface IMembershipCondition
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
Public NotInheritable Class UrlMembershipCondition
Implements IMembershipCondition, ISecurityEncodable
Public NotInheritable Class UrlMembershipCondition
Implements IMembershipCondition
Public NotInheritable Class UrlMembershipCondition
Herança
UrlMembershipCondition
Atributos
Implementações

Comentários

A URL completa é considerada, incluindo o protocolo (HTTP, HTTPS, FTP) e o arquivo.The complete URL is considered, including the protocol (HTTP, HTTPS, FTP) and the file. Por exemplo, http://www.fourthcoffee.com/process/grind.htm é uma URL completa.For example, http://www.fourthcoffee.com/process/grind.htm is a complete URL.

As URLs podem corresponder exatamente ou por um curinga na posição final.URLs can be matched exactly or by a wildcard in the final position. Por exemplo, http://www.fourthcoffee.com/process/* é uma URL curinga.For example, http://www.fourthcoffee.com/process/* is a wildcard URL.

Construtores

UrlMembershipCondition(String)

Inicializa uma nova instância da classe UrlMembershipCondition com a URL que determina a associação.Initializes a new instance of the UrlMembershipCondition class with the URL that determines membership.

Propriedades

Url

Obtém ou define a URL para a qual a condição de associação é testada.Gets or sets the URL for which the membership condition tests.

Métodos

Check(Evidence)

Determina se a evidência especificada satisfaz a condição de associação.Determines whether the specified evidence satisfies the membership condition.

Copy()

Cria uma cópia equivalente da condição de associação.Creates an equivalent copy of the membership condition.

Equals(Object)

Determina se a URL do objeto especificado é equivalente à URL contida no UrlMembershipCondition atual.Determines whether the URL from the specified object is equivalent to the URL contained in the current UrlMembershipCondition.

FromXml(SecurityElement)

Reconstrói um objeto de segurança com um estado especificado de uma codificação XML.Reconstructs a security object with a specified state from an XML encoding.

FromXml(SecurityElement, PolicyLevel)

Reconstrói um objeto de segurança com um estado especificado de uma codificação XML.Reconstructs a security object with a specified state from an XML encoding.

GetHashCode()

Obtém o código hash para a condição de associação atual.Gets the hash code for the current membership condition.

GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Cria e retorna uma representação de cadeia de caracteres da condição de associação.Creates and returns a string representation of the membership condition.

ToXml()

Cria uma codificação XML do objeto de segurança e seu estado atual.Creates an XML encoding of the security object and its current state.

ToXml(PolicyLevel)

Cria uma codificação XML do objeto de segurança e de seu estado atual com o PolicyLevel especificado.Creates an XML encoding of the security object and its current state with the specified PolicyLevel.

Aplica-se a