Information
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, 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.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
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,
	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.

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.

Return to top
Show: