ActionNotSupportedOnDisabledControlException Constructor (String, Exception)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided message and inner exception.
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 _
)
public ActionNotSupportedOnDisabledControlException(
string message,
Exception innerException
)
public:
ActionNotSupportedOnDisabledControlException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ActionNotSupportedOnDisabledControlException
public function ActionNotSupportedOnDisabledControlException(
message : String,
innerException : Exception
)
Parameters
message
Type: StringThe error message.
innerException
Type: ExceptionThe exception that caused the current exception.
.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