ActionNotSupportedOnDisabledControlException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ActionNotSupportedOnDisabledControlException()
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class.
public:
ActionNotSupportedOnDisabledControlException();
public ActionNotSupportedOnDisabledControlException ();
Public Sub New ()
Applies to
ActionNotSupportedOnDisabledControlException(String)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided message.
public:
ActionNotSupportedOnDisabledControlException(System::String ^ message);
public ActionNotSupportedOnDisabledControlException (string message);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : string -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Public Sub New (message As String)
Parameters
- message
- String
A string that contains the error message.
Applies to
ActionNotSupportedOnDisabledControlException(SerializationInfo, StreamingContext)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class from XML by using the provided information and context.
protected:
ActionNotSupportedOnDisabledControlException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ActionNotSupportedOnDisabledControlException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
A SerializationInfo object.
- context
- StreamingContext
A StreamingContext object.
Applies to
ActionNotSupportedOnDisabledControlException(String, Exception)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided message and inner exception.
public:
ActionNotSupportedOnDisabledControlException(System::String ^ message, Exception ^ innerException);
public ActionNotSupportedOnDisabledControlException (string message, Exception innerException);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : string * Exception -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message.
- innerException
- Exception
The exception that caused the current exception.
Applies to
ActionNotSupportedOnDisabledControlException(String, Object)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided parameter values.
public:
ActionNotSupportedOnDisabledControlException(System::String ^ uiTestControl, System::Object ^ exceptionSource);
public ActionNotSupportedOnDisabledControlException (string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Public Sub New (uiTestControl As String, exceptionSource As Object)
Parameters
- uiTestControl
- String
The name of the control in the user interface.
- exceptionSource
- Object
The object where the error occurred.
Applies to
ActionNotSupportedOnDisabledControlException(String, String, Object)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided parameter values.
public:
ActionNotSupportedOnDisabledControlException(System::String ^ message, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public ActionNotSupportedOnDisabledControlException (string message, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : string * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Public Sub New (message As String, uiTestControl As String, exceptionSource As Object)
Parameters
- message
- String
The error message.
- uiTestControl
- String
The name of the control in the user interface.
- exceptionSource
- Object
The object where the error occurred.
Applies to
ActionNotSupportedOnDisabledControlException(String, Exception, String, Object)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided parameter values.
public:
ActionNotSupportedOnDisabledControlException(System::String ^ message, Exception ^ innerException, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public ActionNotSupportedOnDisabledControlException (string message, Exception innerException, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : string * Exception * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Public Sub New (message As String, innerException As Exception, uiTestControl As String, exceptionSource As Object)
Parameters
- message
- String
The error message.
- innerException
- Exception
The exception that caused the current exception.
- uiTestControl
- String
The name of the control in the user interface.
- exceptionSource
- Object
The object where the error occurred.
Applies to
ActionNotSupportedOnDisabledControlException(String, String, Exception, ILastInvocationInfo, String, Object)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided parameter values and the default message.
public:
ActionNotSupportedOnDisabledControlException(System::String ^ objectName, System::String ^ actionName, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public ActionNotSupportedOnDisabledControlException (string objectName, string actionName, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : string * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Public Sub New (objectName As String, actionName As String, innerException As Exception, lastInfo As ILastInvocationInfo, uiTestControl As String, exceptionSource As Object)
Parameters
- objectName
- String
The name of the object where the action failed.
- actionName
- String
The name of the action that failed.
- innerException
- Exception
The exception that caused the current exception.
- lastInfo
- ILastInvocationInfo
Information about the last invocation.
- uiTestControl
- String
The name of the control in the user interface.
- exceptionSource
- Object
The object where the error occurred.
Applies to
ActionNotSupportedOnDisabledControlException(String, String, String, Exception, ILastInvocationInfo, String, Object)
Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided parameter values.
public:
ActionNotSupportedOnDisabledControlException(System::String ^ message, System::String ^ objectName, System::String ^ actionName, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public ActionNotSupportedOnDisabledControlException (string message, string objectName, string actionName, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException : string * string * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.ActionNotSupportedOnDisabledControlException
Public Sub New (message As String, objectName As String, actionName As String, innerException As Exception, lastInfo As ILastInvocationInfo, uiTestControl As String, exceptionSource As Object)
Parameters
- message
- String
The error message.
- objectName
- String
The name of the object where the action failed.
- actionName
- String
The name of the action that failed.
- innerException
- Exception
The exception that caused the current exception.
- lastInfo
- ILastInvocationInfo
Information about the last invocation.
- uiTestControl
- String
The name of the control in the user interface.
- exceptionSource
- Object
The object where the error occurred.