The methods of the SocketPermissionAttribute class are listed here. For a complete list of SocketPermissionAttribute class members, see the SocketPermissionAttribute Members topic.
|CreatePermission||Overridden. Creates and returns a new instance of the SocketPermission class.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|GetHashCode (inherited from Attribute)||Overridden. Returns the hash code for this instance.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|IsDefaultAttribute (inherited from Attribute)||When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.|
|Match (inherited from Attribute)||When overridden in a derived class, returns a value indicating whether this instance equals a specified object.|
|ToString (inherited from Object)||Returns a String that represents the current Object.|
|Finalize (inherited from Object)||Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax.
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|