ElementNotEnabledException 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
ElementNotEnabledException() |
Initializes a new instance of the ElementNotEnabledException class with default values. |
ElementNotEnabledException(String) |
Initializes a new instance of the ElementNotEnabledException class with a specified error message. |
ElementNotEnabledException(String, Exception) |
Initializes a new instance of the ElementNotEnabledException class, with a specified error message and a reference to the inner exception that is the cause of this exception. |
ElementNotEnabledException()
Initializes a new instance of the ElementNotEnabledException class with default values.
public:
ElementNotEnabledException();
public ElementNotEnabledException ();
Public Sub New ()
Applies to
ElementNotEnabledException(String)
Initializes a new instance of the ElementNotEnabledException class with a specified error message.
public:
ElementNotEnabledException(System::String ^ message);
public ElementNotEnabledException (string message);
new Windows.UI.Xaml.Automation.ElementNotEnabledException : string -> Windows.UI.Xaml.Automation.ElementNotEnabledException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
ElementNotEnabledException(String, Exception)
Initializes a new instance of the ElementNotEnabledException class, with a specified error message and a reference to the inner exception that is the cause of this exception.
public:
ElementNotEnabledException(System::String ^ message, Exception ^ innerException);
public ElementNotEnabledException (string message, Exception innerException);
new Windows.UI.Xaml.Automation.ElementNotEnabledException : string * Exception -> Windows.UI.Xaml.Automation.ElementNotEnabledException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception, or null if no inner exception is specified.