UITestControlNotFoundException Constructors

Definition

Overloads

UITestControlNotFoundException()

Initializes a new instance of the UITestControlNotFoundException class.

UITestControlNotFoundException(String)

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

UITestControlNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestControlNotFoundException class for deserialization.

UITestControlNotFoundException(String, Exception)

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

UITestControlNotFoundException(String, String, Object)

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

UITestControlNotFoundException(String, Exception, String, Object)

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

UITestControlNotFoundException(PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)

Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, root UI control, UI test control, and source.

UITestControlNotFoundException(PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, inner exception, last invocation information, UI test control, and source.

UITestControlNotFoundException(String, PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)

Initializes a new instance of the UITestControlNotFoundException class.

UITestControlNotFoundException(String, PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the UITestControlNotFoundException class.

UITestControlNotFoundException()

Initializes a new instance of the UITestControlNotFoundException class.

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

Applies to

UITestControlNotFoundException(String)

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

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

Parameters

message
String

The error message.

Applies to

UITestControlNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestControlNotFoundException class for deserialization.

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

Parameters

context
StreamingContext

A SerializationContext object.

Applies to

UITestControlNotFoundException(String, Exception)

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

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

UITestControlNotFoundException(String, String, Object)

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

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

UITestControlNotFoundException(String, Exception, String, Object)

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

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

UITestControlNotFoundException(PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)

Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, root UI control, UI test control, and source.

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

Parameters

primaryProperties
PropertyExpressionCollection

The primary properties of the control.

secondaryProperties
PropertyExpressionCollection

The secondary properties of the control.

root
String

A string representation of the root element.

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

UITestControlNotFoundException(PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, inner exception, last invocation information, UI test control, and source.

public:
 UITestControlNotFoundException(Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ primaryProperties, Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ secondaryProperties, System::String ^ root, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public UITestControlNotFoundException (Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection primaryProperties, Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection secondaryProperties, string root, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException : Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection * Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException
Public Sub New (primaryProperties As PropertyExpressionCollection, secondaryProperties As PropertyExpressionCollection, root As String, innerException As Exception, lastInfo As ILastInvocationInfo, uiTestControl As String, exceptionSource As Object)

Parameters

primaryProperties
PropertyExpressionCollection

The primary properties of the control.

secondaryProperties
PropertyExpressionCollection

The secondary properties of the control.

root
String

A string representation of the root element.

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

UITestControlNotFoundException(String, PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)

Initializes a new instance of the UITestControlNotFoundException class.

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

Parameters

message
String

The error message.

primaryProperties
PropertyExpressionCollection

The primary properties of the control.

secondaryProperties
PropertyExpressionCollection

The secondary properties of the control.

root
String

A string representation of the root element.

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

UITestControlNotFoundException(String, PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the UITestControlNotFoundException class.

public:
 UITestControlNotFoundException(System::String ^ message, Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ primaryProperties, Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ secondaryProperties, System::String ^ root, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public UITestControlNotFoundException (string message, Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection primaryProperties, Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection secondaryProperties, string root, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException : string * Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection * Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException
Public Sub New (message As String, primaryProperties As PropertyExpressionCollection, secondaryProperties As PropertyExpressionCollection, root As String, innerException As Exception, lastInfo As ILastInvocationInfo, uiTestControl As String, exceptionSource As Object)

Parameters

message
String

The error message.

primaryProperties
PropertyExpressionCollection

The primary properties of the control.

secondaryProperties
PropertyExpressionCollection

The secondary properties of the control.

root
String

A string representation of the root element.

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