Export (0) Print
Expand All

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.

Show:
© 2014 Microsoft