共用方式為


UnitTestAssertException Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the UnitTestAssertException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method UnitTestAssertException() Initializes a new instance of the UnitTestAssertException class.
Protected method UnitTestAssertException(String) Initializes a new instance of the UnitTestAssertException class with a specified error.
Protected method UnitTestAssertException(SerializationInfo, StreamingContext) Initializes a new instance of the UnitTestAssertException class with serialized data.
Protected method UnitTestAssertException(String, Exception) Initializes a new instance of the UnitTestAssertException class with a specified error message and a reference to the inner exception that caused this exception.

Top

See Also

Reference

UnitTestAssertException Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace