Share via


UITestControlNotAvailableException Constructors

Definition

Overloads

UITestControlNotAvailableException()

Initializes a new instance of the UITestControlNotAvailableException class.

UITestControlNotAvailableException(Exception)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided inner exception.

UITestControlNotAvailableException(String)

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

UITestControlNotAvailableException(IUITechnologyElement, Exception)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided UI element.

UITestControlNotAvailableException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestControlNotAvailableException class for deserialization.

UITestControlNotAvailableException(String, Exception)

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

UITestControlNotAvailableException(String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided UI control element and source of the exception.

UITestControlNotAvailableException(Exception, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided inner exception, UI test control, and exception source.

UITestControlNotAvailableException(String, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided message, the name of the UI test control, and the control that is the source of the exception.

UITestControlNotAvailableException(String, Exception, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided error message, UI test control, and source.

UITestControlNotAvailableException()

Initializes a new instance of the UITestControlNotAvailableException class.

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

Applies to

UITestControlNotAvailableException(Exception)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided inner exception.

public:
 UITestControlNotAvailableException(Exception ^ innerException);
public UITestControlNotAvailableException (Exception innerException);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException : Exception -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

The original exception that caused the current exception.

Applies to

UITestControlNotAvailableException(String)

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

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

Parameters

message
String

The error message.

Applies to

UITestControlNotAvailableException(IUITechnologyElement, Exception)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided UI element.

public:
 UITestControlNotAvailableException(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ element, Exception ^ innerException);
public UITestControlNotAvailableException (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement element, Exception innerException);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement * Exception -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException
Public Sub New (element As IUITechnologyElement, innerException As Exception)

Parameters

innerException
Exception

The original exception that caused the current exception.

Applies to

UITestControlNotAvailableException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestControlNotAvailableException class for deserialization.

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

Parameters

Applies to

UITestControlNotAvailableException(String, Exception)

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

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

Parameters

message
String

The error message.

innerException
Exception

The original exception that caused this exception.

Applies to

UITestControlNotAvailableException(String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided UI control element and source of the exception.

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

Parameters

uiTestControl
String

A string representation of the UITestControl that is blocked.

exceptionSource
Object

The object that is the source of the exception.

Applies to

UITestControlNotAvailableException(Exception, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided inner exception, UI test control, and exception source.

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

Parameters

innerException
Exception

The original exception that caused this 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

UITestControlNotAvailableException(String, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided message, the name of the UI test control, and the control that is the source of the exception.

public:
 UITestControlNotAvailableException(System::String ^ message, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public UITestControlNotAvailableException (string message, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException : string * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException
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

UITestControlNotAvailableException(String, Exception, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided error message, UI test control, and source.

public:
 UITestControlNotAvailableException(System::String ^ message, Exception ^ innerException, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public UITestControlNotAvailableException (string message, Exception innerException, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException : string * Exception * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException
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