FailedToPerformActionOnBlockedControlException Constructors

Definition

Overloads

FailedToPerformActionOnBlockedControlException()

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class.

FailedToPerformActionOnBlockedControlException(String)

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

FailedToPerformActionOnBlockedControlException(SerializationInfo, StreamingContext)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided serialization data and context.

FailedToPerformActionOnBlockedControlException(String, Exception)

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

FailedToPerformActionOnBlockedControlException(String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided control name, action name, inner exception, last invocation information, UI test control, and source.

FailedToPerformActionOnBlockedControlException(String, String, Exception, ILastInvocationInfo, IntPtr, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

FailedToPerformActionOnBlockedControlException(String, String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided message, object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

FailedToPerformActionOnBlockedControlException(String, String, String, Exception, ILastInvocationInfo, IntPtr, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided message, object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

FailedToPerformActionOnBlockedControlException()

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class.

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

Applies to

FailedToPerformActionOnBlockedControlException(String)

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

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

Parameters

message
String

The error message.

Applies to

FailedToPerformActionOnBlockedControlException(SerializationInfo, StreamingContext)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided serialization data and context.

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

Parameters

Applies to

FailedToPerformActionOnBlockedControlException(String, Exception)

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

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

FailedToPerformActionOnBlockedControlException(String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided control name, action name, inner exception, last invocation information, UI test control, and source.

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

Parameters

objectName
String

The name of the object where the action failed.

actionName
String

The name of the action that failed.

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

FailedToPerformActionOnBlockedControlException(String, String, Exception, ILastInvocationInfo, IntPtr, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

public:
 FailedToPerformActionOnBlockedControlException(System::String ^ objectName, System::String ^ actionName, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, IntPtr windowHandle, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public FailedToPerformActionOnBlockedControlException (string objectName, string actionName, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, IntPtr windowHandle, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnBlockedControlException : string * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * nativeint * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnBlockedControlException
Public Sub New (objectName As String, actionName As String, innerException As Exception, lastInfo As ILastInvocationInfo, windowHandle As IntPtr, uiTestControl As String, exceptionSource As Object)

Parameters

objectName
String

The name of the object where the action failed.

actionName
String

The name of the action that failed.

innerException
Exception

The original exception that caused the current exception.

windowHandle
IntPtr

nativeint

The handle of the window that blocks the control.

uiTestControl
String

A string representation of the UITestControl that is blocked.

exceptionSource
Object

The object that is the source of the exception.

Applies to

FailedToPerformActionOnBlockedControlException(String, String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided message, object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

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

Parameters

message
String

The error message.

objectName
String

The name of the object where the action failed.

actionName
String

The name of the action that failed.

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

FailedToPerformActionOnBlockedControlException(String, String, String, Exception, ILastInvocationInfo, IntPtr, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided message, object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

public:
 FailedToPerformActionOnBlockedControlException(System::String ^ message, System::String ^ objectName, System::String ^ actionName, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, IntPtr windowHandle, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public FailedToPerformActionOnBlockedControlException (string message, string objectName, string actionName, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, IntPtr windowHandle, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnBlockedControlException : string * string * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * nativeint * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnBlockedControlException
Public Sub New (message As String, objectName As String, actionName As String, innerException As Exception, lastInfo As ILastInvocationInfo, windowHandle As IntPtr, uiTestControl As String, exceptionSource As Object)

Parameters

message
String

The error message.

objectName
String

The name of the object where the action failed.

actionName
String

The name of the action that failed.

innerException
Exception

The original exception that caused the current exception.

windowHandle
IntPtr

nativeint

The handle of the window that blocks the control.

uiTestControl
String

A string representation of the UITestControl that is blocked.

exceptionSource
Object

The object that is the source of the exception.

Applies to