ActionNotSupportedOnDisabledControlException Constructor (String, Exception, 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)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception, _
uiTestControl As String, _
exceptionSource As Object _
)
public ActionNotSupportedOnDisabledControlException(
string message,
Exception innerException,
string uiTestControl,
Object exceptionSource
)
public:
ActionNotSupportedOnDisabledControlException(
String^ message,
Exception^ innerException,
String^ uiTestControl,
Object^ exceptionSource
)
new :
message:string *
innerException:Exception *
uiTestControl:string *
exceptionSource:Object -> ActionNotSupportedOnDisabledControlException
public function ActionNotSupportedOnDisabledControlException(
message : String,
innerException : Exception,
uiTestControl : String,
exceptionSource : Object
)
Parameters
message
Type: StringThe error message.
innerException
Type: ExceptionThe exception that caused the current exception.
uiTestControl
Type: StringThe name of the control in the user interface.
exceptionSource
Type: ObjectThe object where the error occurred.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ActionNotSupportedOnDisabledControlException Class