ElementNotEnabledException Constructors

Definition

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.

C#
public ElementNotEnabledException();

Applies to

UWP 10.0
Product Versions
UWP 10.0

ElementNotEnabledException(String)

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

C#
public ElementNotEnabledException(string message);

Parameters

message
String

The message that describes the error.

Applies to

UWP 10.0
Product Versions
UWP 10.0

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.

C#
public ElementNotEnabledException(string message, Exception innerException);

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

UWP 10.0
Product Versions
UWP 10.0