ObjectReadOnlyException()
Initializes a new instance of the ObjectReadOnlyException class with the default error message.
Declaration
public ObjectReadOnlyException()ObjectReadOnlyException(string)
Initializes a new instance of the ObjectReadOnlyException class with a given error message.
Declaration
public ObjectReadOnlyException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message. |
ObjectReadOnlyException(string, Exception)
Initializes a new instance of the ObjectReadOnlyException class with a given error message and inner exception.
Declaration
public ObjectReadOnlyException(string message, Exception inner)Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The inner message. |
| Exception | inner | The exception wrapped by the new ObjectReadOnlyException. |