The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
FailedToPerformActionOnBlockedControlException Constructor (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.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public:
FailedToPerformActionOnBlockedControlException(
String^ message,
String^ objectName,
String^ actionName,
Exception^ innerException,
ILastInvocationInfo^ lastInfo,
IntPtr windowHandle,
String^ uiTestControl,
Object^ exceptionSource
)
Parameters
- message
-
Type:
System::String^
The error message.
- objectName
-
Type:
System::String^
The name of the object where the action failed.
- actionName
-
Type:
System::String^
The name of the action that failed.
- innerException
-
Type:
System::Exception^
The original exception that caused the current exception.
- lastInfo
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::ILastInvocationInfo^
An ILastInvocationInfo object.
- windowHandle
-
Type:
System::IntPtr
The handle of the window that blocks the control.
- uiTestControl
-
Type:
System::String^
A string representation of the UITestControl that is blocked.
- exceptionSource
-
Type:
System::Object^
The object that is the source of the exception.
Show: