FailedToPerformActionOnHiddenControlException Constructors

Definition

Overloads

FailedToPerformActionOnHiddenControlException()

Initializes a new instance of the FailedToPerformActionOnHiddenControlException class.

FailedToPerformActionOnHiddenControlException(String)

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

FailedToPerformActionOnHiddenControlException(SerializationInfo, StreamingContext)

Fills the provided serialization information object with the serialized version of this exception by using the provided context.

FailedToPerformActionOnHiddenControlException(String, Exception)

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

FailedToPerformActionOnHiddenControlException(String, String, Exception, ILastInvocationInfo, String, Object)

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

FailedToPerformActionOnHiddenControlException(String, String, String, Exception, ILastInvocationInfo, String, Object)

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

FailedToPerformActionOnHiddenControlException()

Initializes a new instance of the FailedToPerformActionOnHiddenControlException class.

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

Applies to

FailedToPerformActionOnHiddenControlException(String)

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

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

Parameters

message
String

The error message.

Applies to

FailedToPerformActionOnHiddenControlException(SerializationInfo, StreamingContext)

Fills the provided serialization information object with the serialized version of this exception by using the provided context.

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

Parameters

Applies to

FailedToPerformActionOnHiddenControlException(String, Exception)

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

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

FailedToPerformActionOnHiddenControlException(String, String, Exception, ILastInvocationInfo, String, Object)

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

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

FailedToPerformActionOnHiddenControlException(String, String, String, Exception, ILastInvocationInfo, String, Object)

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

public:
 FailedToPerformActionOnHiddenControlException(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 FailedToPerformActionOnHiddenControlException (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.FailedToPerformActionOnHiddenControlException : string * string * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnHiddenControlException
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