MSDN Library
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, 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.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public FailedToPerformActionOnBlockedControlException(
	string objectName,
	string actionName,
	Exception innerException,
	ILastInvocationInfo lastInfo,
	IntPtr windowHandle,
	string uiTestControl,
	object exceptionSource
)

Parameters

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.

Return to top
Show:
© 2016 Microsoft