csUnit Class Library

ExpectedExceptionAttribute Methods

The methods of the ExpectedExceptionAttribute class are listed below. For a complete list of ExpectedExceptionAttribute class members, see the ExpectedExceptionAttribute Members topic.

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) 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.
IsEqualTo Compares either the type of an exception to an expected exception type. If in addition to that a particular exception object has been supplied, the exception will be compared to it, too.
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.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ExpectedExceptionAttribute Class | csUnit Namespace