[Serializable] |
Zones are defined by the SecurityZone enumeration.
ctor #1 | Initializes a new instance of the Zone class with the zone from which a code assembly originates. |
SecurityZone | Read-only Gets the zone from which the code assembly originates. |
Copy | Creates an equivalent copy of the evidence object. |
CreateFromUrl | Creates a new zone with the specified URL. |
CreateIdentityPermission | Creates an identity permission that corresponds to the current instance of the Zone evidence class. |
Equals | Overridden: Compares the current Zone evidence object to the specified object for equivalence. |
GetHashCode | Overridden: Gets the hash code of the current zone. |
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 Zone. |
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 Zone(SecurityZone( |
zone
Exception Type | Condition |
---|---|
ArgumentException | The zone parameter is not a valid SecurityZone. |
public SecurityZone SecurityZone {get;}
|
public object Copy(); |
url
Exception Type | Condition |
---|---|
ArgumentNullException | The url parameter is null. |
public IPermission CreateIdentityPermission( |
evidence
o
Exception Type | Condition |
---|---|
ArgumentException | The o parameter is not a Zone object. |
~Zone(); |
public override int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |