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.

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

 

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

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

public:
ActionNotSupportedOnDisabledControlException(
	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 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.

Return to top
Show: