次の方法で共有


EqtException Constructors

Definition

Overloads

EqtException()

Initializes a new instance of the EqtException class.

EqtException(String)

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

EqtException(SerializationInfo, StreamingContext)

Initializes a new instance of the EqtException class to propagate the exception from the server to the client by using provided information and context.

EqtException(String, Exception)

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

EqtException()

Initializes a new instance of the EqtException class.

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

Applies to

EqtException(String)

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

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

Parameters

message
String

Message that states the exception.

Applies to

EqtException(SerializationInfo, StreamingContext)

Initializes a new instance of the EqtException class to propagate the exception from the server to the client by using provided information and context.

protected:
 EqtException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EqtException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.Exceptions.EqtException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.Exceptions.EqtException
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

EqtException(String, Exception)

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

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

Parameters

message
String

Message that states the exception.

innerException
Exception

An exception that is caused by this exception.

Applies to