[Serializable] |
The complete URL is considered, including the protocol (HTTP, HTTPS, FTP) and the file. For example, http://www.fourthcoffee.com/process/grind.htm is a complete URL.
URLs can be matched exactly or by a wildcard in the final position. For example, http://www.fourthcoffee.com/process/* is a wildcard URL.
ctor #1 | Initializes a new instance of the Url class with the URL from which a code assembly originates. |
Value | Read-only Gets the URL from which the code assembly originates. |
Copy | Creates a new copy of the evidence object. |
CreateIdentityPermission | Creates an identity permission corresponding to the current instance of the Url evidence class. |
Equals | Overridden: Compares the current Url evidence object to the specified object for equivalence. |
GetHashCode | Overridden: Gets the hash code of the current URL. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString | Overridden: Returns a string representation of the current Url. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public Url( |
name
Exception Type | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
public string Value {get;}
|
public object Copy(); |
public IPermission CreateIdentityPermission( |
evidence
o
~Url(); |
public override int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |