UnitTestAssertException Constructors

Definition

Overloads

UnitTestAssertException()

Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs

Initializes a new instance of the UnitTestAssertException class.

C++
protected:
 UnitTestAssertException();

Applies to

MSTest.TestFramework 3.8.0 et autres versions
Produit Versions
MSTest.TestFramework 1.1.18, 1.2.1, 1.3.2, 1.4.0, 2.2.0, 2.1.2, 2.2.10, 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0

UnitTestAssertException(String)

Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs

Initializes a new instance of the UnitTestAssertException class.

C++
protected:
 UnitTestAssertException(System::String ^ msg);

Parameters

msg
String

The message.

Applies to

MSTest.TestFramework 3.8.0 et autres versions
Produit Versions
MSTest.TestFramework 1.1.18, 1.2.1, 1.3.2, 1.4.0, 2.2.0, 2.1.2, 2.2.10, 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0

UnitTestAssertException(SerializationInfo, StreamingContext)

C++
protected:
 UnitTestAssertException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);

Parameters

Applies to

UnitTestAssertException(String, Exception)

Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs
Source:
UnitTestAssertException.cs

Initializes a new instance of the UnitTestAssertException class.

C++
protected:
 UnitTestAssertException(System::String ^ msg, Exception ^ ex);

Parameters

msg
String

The message.

ex
Exception

The exception.

Applies to

MSTest.TestFramework 3.8.0 et autres versions
Produit Versions
MSTest.TestFramework 1.1.18, 1.2.1, 1.3.2, 1.4.0, 2.2.0, 2.1.2, 2.2.10, 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0