共用方式為


UITestJScriptExecutionException Constructors

Definition

Overloads

UITestJScriptExecutionException()

Default constructor.

UITestJScriptExecutionException(String)

Create new instance using the message.

UITestJScriptExecutionException(SerializationInfo, StreamingContext)

Deserialization constructor.

UITestJScriptExecutionException(String, Exception)

Create new instance using the message and the inner exception.

UITestJScriptExecutionException()

Default constructor.

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

Applies to

UITestJScriptExecutionException(String)

Create new instance using the message.

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

Parameters

message
String

The exception message.

Applies to

UITestJScriptExecutionException(SerializationInfo, StreamingContext)

Deserialization constructor.

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

Parameters

Applies to

UITestJScriptExecutionException(String, Exception)

Create new instance using the message and the inner exception.

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

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

Applies to