共用方式為


UITestControlNotVisibleException Constructors

Definition

Overloads

UITestControlNotVisibleException()

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException(String)

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

UITestControlNotVisibleException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestControlNotVisibleException class for deserialization.

UITestControlNotVisibleException(String, Exception)

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException(String, String, Object)

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException(String, Exception, String, Object)

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException()

Initializes a new instance of the UITestControlNotVisibleException class.

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

Applies to

UITestControlNotVisibleException(String)

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

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

Parameters

message
String

The error message.

Applies to

UITestControlNotVisibleException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestControlNotVisibleException class for deserialization.

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

Parameters

Applies to

UITestControlNotVisibleException(String, Exception)

Initializes a new instance of the UITestControlNotVisibleException class.

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

Parameters

message
String

The error message.

innerException
Exception

The original exception that caused the current exception.

Applies to

UITestControlNotVisibleException(String, String, Object)

Initializes a new instance of the UITestControlNotVisibleException class.

public:
 UITestControlNotVisibleException(System::String ^ message, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public UITestControlNotVisibleException (string message, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotVisibleException : string * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotVisibleException
Public Sub New (message As String, uiTestControl As String, exceptionSource As Object)

Parameters

message
String

The error message.

uiTestControl
String

A string representation of the UITestControl that is blocked.

exceptionSource
Object

The object that is the source of the exception.

Applies to

UITestControlNotVisibleException(String, Exception, String, Object)

Initializes a new instance of the UITestControlNotVisibleException class.

public:
 UITestControlNotVisibleException(System::String ^ message, Exception ^ innerException, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public UITestControlNotVisibleException (string message, Exception innerException, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotVisibleException : string * Exception * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotVisibleException
Public Sub New (message As String, innerException As Exception, uiTestControl As String, exceptionSource As Object)

Parameters

message
String

The error message.

innerException
Exception

The original exception that caused the current exception.

uiTestControl
String

A string representation of the UITestControl that is blocked.

exceptionSource
Object

The object that is the source of the exception.

Applies to