Namespace: System
InvalidOperationException
The exception that is thrown when a method call is invalid for the object's current state.
Methods (1)
InvalidOperationException(String)Constructor
Initializes a new instance of the InvalidOperationException class with a specified error message.
| Parameter | Description |
|---|---|
| message | The message that describes the error. |