ActionNotSupportedOnDisabledControlException Constructor (String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided parameter values and the default message.

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

public ActionNotSupportedOnDisabledControlException(
	string objectName,
	string actionName,
	Exception innerException,
	ILastInvocationInfo lastInfo,
	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 exception that caused the current exception.
lastInfo
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo
Information about the last invocation.
uiTestControl
Type: System.String
The name of the control in the user interface.
exceptionSource
Type: System.Object
The object where the error occurred.

Community Additions

ADD
Show: