Delen via


InternalTestFailureException Constructors

Definition

Overloads

InternalTestFailureException()

Initializes a new instance of the InternalTestFailureException class.

InternalTestFailureException(String)

Initializes a new instance of the InternalTestFailureException class.

InternalTestFailureException(SerializationInfo, StreamingContext)
InternalTestFailureException(String, Exception)

Initializes a new instance of the InternalTestFailureException class.

InternalTestFailureException()

Initializes a new instance of the InternalTestFailureException class.

public:
 InternalTestFailureException();
public InternalTestFailureException ();
Public Sub New ()

Applies to

InternalTestFailureException(String)

Initializes a new instance of the InternalTestFailureException class.

public:
 InternalTestFailureException(System::String ^ msg);
public InternalTestFailureException (string msg);
new Microsoft.VisualStudio.TestTools.UnitTesting.InternalTestFailureException : string -> Microsoft.VisualStudio.TestTools.UnitTesting.InternalTestFailureException
Public Sub New (msg As String)

Parameters

msg
String

The exception message.

Applies to

InternalTestFailureException(SerializationInfo, StreamingContext)

protected:
 InternalTestFailureException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InternalTestFailureException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.UnitTesting.InternalTestFailureException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.UnitTesting.InternalTestFailureException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

InternalTestFailureException(String, Exception)

Initializes a new instance of the InternalTestFailureException class.

public:
 InternalTestFailureException(System::String ^ msg, Exception ^ ex);
public InternalTestFailureException (string msg, Exception ex);
new Microsoft.VisualStudio.TestTools.UnitTesting.InternalTestFailureException : string * Exception -> Microsoft.VisualStudio.TestTools.UnitTesting.InternalTestFailureException
Public Sub New (msg As String, ex As Exception)

Parameters

msg
String

The exception message.

ex
Exception

The exception.

Applies to