ElementNotEnabledException Class
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.
Contains information about the exception that is raised when an attempt is made to manipulate a control that is not enabled.
public ref class ElementNotEnabledException : InvalidOperationException
public class ElementNotEnabledException : InvalidOperationException
type ElementNotEnabledException = class
inherit InvalidOperationException
Public Class ElementNotEnabledException
Inherits InvalidOperationException
- Inheritance
Constructors
| Name | Description |
|---|---|
| ElementNotEnabledException() |
Initializes a new instance of the ElementNotEnabledException class. |
| 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(String) |
Initializes a new instance of the ElementNotEnabledException class with a specified error message. |
Methods
| Name | Description |
|---|---|
| GetObjectData(SerializationInfo, StreamingContext) |
Retrieves data needed to serialize the target object. |