Freigeben über


TestFailureException Members

The exception that is thrown when a test case assertion fails.

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

Public Constructors

(see also Protected Constructors)

  Name Description
  TestFailureException Overloaded. Initializes a new instance of the TestFailureException class.

Top

Protected Constructors

  Name Description
  TestFailureException Overloaded. Initializes a new instance of the TestFailureException class.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Data  (Inherited from Exception)
public property HelpLink  (Inherited from Exception)
public property InnerException  (Inherited from Exception)
public property Message  (Inherited from Exception)
public property Source  (Inherited from Exception)
public property StackTrace  (Inherited from Exception)
public property TargetSite  (Inherited from Exception)

Top

Protected Properties

  Name Description
protected property HResult  (Inherited from Exception)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetBaseException  (Inherited from Exception)
public method GetHashCode  (Inherited from Object)
public method GetObjectData  (Inherited from Exception)
public method GetType  (Inherited from Exception)
public method ToString  Overridden. (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

Protected Events

  Name Description
protected event SerializeObjectState  (Inherited from Exception)

Top

See Also

Reference

TestFailureException Class
Microsoft.SpecExplorer.Runtime.Testing Namespace
DefaultTestManager.ThrowTestFailureException Property

Other Resources

Test Code Generation Switches