ElementNotEnabledException Constructors

Definition

Initializes a new instance of the ElementNotEnabledException class.

Overloads

ElementNotEnabledException()

Initializes a new instance of the ElementNotEnabledException class.

ElementNotEnabledException(String)

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

ElementNotEnabledException(SerializationInfo, StreamingContext)

Initializes a new instance of the ElementNotEnabledException class with serialization information.

ElementNotEnabledException(String, Exception)

Initializes a new instance of the ElementNotEnabledException class with a specified error message and a reference to the inner exception that caused this exception.

ElementNotEnabledException()

Initializes a new instance of the ElementNotEnabledException class.

public ElementNotEnabledException ();

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ElementNotEnabledException(String)

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

public ElementNotEnabledException (string message);

Parameters

message
String

The description of the error.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ElementNotEnabledException(SerializationInfo, StreamingContext)

Initializes a new instance of the ElementNotEnabledException class with serialization information.

protected ElementNotEnabledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

Data needed to serialize or deserialize the object.

context
StreamingContext

The source and destination of the serialized stream.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ElementNotEnabledException(String, Exception)

Initializes a new instance of the ElementNotEnabledException class with a specified error message and a reference to the inner exception that caused this exception.

public ElementNotEnabledException (string message, Exception innerException);

Parameters

message
String

The description of the error.

innerException
Exception

The exception that caused this exception.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9