UnitTestAssertException Constructors

Definition

Overloads

UnitTestAssertException()

Initializes a new instance of the UnitTestAssertException class.

UnitTestAssertException(String)

Initializes a new instance of the UnitTestAssertException class.

UnitTestAssertException(String, Exception)

Initializes a new instance of the UnitTestAssertException class.

UnitTestAssertException()

Initializes a new instance of the UnitTestAssertException class.

protected UnitTestAssertException ();
Protected Sub New ()

UnitTestAssertException(String)

Initializes a new instance of the UnitTestAssertException class.

protected UnitTestAssertException (string msg);
new Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestAssertException : string -> Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestAssertException
Protected Sub New (msg As String)

Parameters

msg
String

The message.

UnitTestAssertException(String, Exception)

Initializes a new instance of the UnitTestAssertException class.

protected UnitTestAssertException (string msg, Exception ex);
new Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestAssertException : string * Exception -> Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestAssertException
Protected Sub New (msg As String, ex As Exception)

Parameters

msg
String

The message.

ex
Exception

The exception.

Applies to