PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingObject­Read­Only­ExceptionObject­Read­Only­Exception
Open sandboxFocus

ObjectReadOnlyException Constructor

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
System.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
System.String message

The inner message.

Exception inner

The exception wrapped by the new ObjectReadOnlyException.