Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ReadOnlyException Constructor

.NET Framework 1.1

Initializes a new instance of the ReadOnlyException class.

Overload List

Initializes a new instance of the ReadOnlyException class.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public ReadOnlyException();
[C++] public: ReadOnlyException();
[JScript] public function ReadOnlyException();

Initializes a new instance of the ReadOnlyException class with the specified string.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public ReadOnlyException(string);
[C++] public: ReadOnlyException(String*);
[JScript] public function ReadOnlyException(String);

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

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected ReadOnlyException(SerializationInfo, StreamingContext);
[C++] protected: ReadOnlyException(SerializationInfo*, StreamingContext);
[JScript] protected function ReadOnlyException(SerializationInfo, StreamingContext);

See Also

ReadOnlyException Class | ReadOnlyException Members | System.Data Namespace

Show:
© 2015 Microsoft