Export (0) Print
Expand All

ExpectedExceptionAttribute Members

Indicates that an exception is expected during test method execution. This class cannot be inherited.

The following tables list the members exposed by the ExpectedExceptionAttribute type.

  Name Description
Public constructor ExpectedExceptionAttribute Overloaded. Initializes a new instance of the ExpectedExceptionAttribute class.  
Top

  Name Description
Public property ExceptionType Gets the expected exception type. 
Public property Message Gets the message that is associated with the expected exception. 
Public property TypeId  (Inherited from Attribute.)
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. (Inherited from Attribute.)
Public method Static GetCustomAttribute  Overloaded. (Inherited from Attribute.)
Public method Static GetCustomAttributes  Overloaded. (Inherited from Attribute.)
Public method GetHashCode  (Inherited from Attribute.)
Public method GetType  (Inherited from Object.)
Public method IsDefaultAttribute  (Inherited from Attribute.)
Public method Static IsDefined  Overloaded. (Inherited from Attribute.)
Public method Match  (Inherited from Attribute.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)
Top

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft