ElementNotAvailableException Constructors

Definition

Overloads

ElementNotAvailableException()

Initializes a new instance of the ElementNotAvailableException class with default values.

ElementNotAvailableException(String)

Initializes a new instance of the ElementNotAvailableException class with a specified error message.

ElementNotAvailableException(String, Exception)

Initializes a new instance of the ElementNotAvailableException class with a specified error message and a reference to the inner exception that is the cause of this exception.

ElementNotAvailableException()

Initializes a new instance of the ElementNotAvailableException class with default values.

public:
 ElementNotAvailableException();
public ElementNotAvailableException ();
Public Sub New ()

Applies to

ElementNotAvailableException(String)

Initializes a new instance of the ElementNotAvailableException class with a specified error message.

public:
 ElementNotAvailableException(System::String ^ message);
public ElementNotAvailableException (string message);
new Windows.UI.Xaml.Automation.ElementNotAvailableException : string -> Windows.UI.Xaml.Automation.ElementNotAvailableException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

ElementNotAvailableException(String, Exception)

Initializes a new instance of the ElementNotAvailableException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 ElementNotAvailableException(System::String ^ message, Exception ^ innerException);
public ElementNotAvailableException (string message, Exception innerException);
new Windows.UI.Xaml.Automation.ElementNotAvailableException : string * Exception -> Windows.UI.Xaml.Automation.ElementNotAvailableException
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.

Applies to