Export (0) Print
Expand All

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft