Partager via


InternalException Constructors

Definition

Overloads

InternalException()

Initializes a new instance of the InternalException class.

InternalException(String)

Initializes a new instance of the InternalException class by using the provided message.

InternalException(SerializationInfo, StreamingContext)

Initializes a new instance of the InternalException class by using the provided information and context.

InternalException(String, Exception)

Initializes a new instance of the InternalException class by using the provided message and inner exception.

InternalException()

Initializes a new instance of the InternalException class.

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

Applies to

InternalException(String)

Initializes a new instance of the InternalException class by using the provided message.

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

Parameters

msg
String

Message that describes the exception.

Applies to

InternalException(SerializationInfo, StreamingContext)

Initializes a new instance of the InternalException class by using the provided information and context.

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

Parameters

info
SerializationInfo

Information about the exception.

context
StreamingContext

The source and the destination of the exception.

Applies to

InternalException(String, Exception)

Initializes a new instance of the InternalException class by using the provided message and inner exception.

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

Parameters

msg
String

Message that describes the exception.

inner
Exception

Exception that caused the current exception.

Applies to