ReadOnlyException Class
Represents the exception that is thrown when attempting to change the value of a read-only column.
For a list of all members of this type, see ReadOnlyException Members.
System.Object
System.Exception
System.SystemException
System.Data.DataException
System.Data.ReadOnlyException
[Visual Basic] <Serializable> Public Class ReadOnlyException Inherits DataException [C#] [Serializable] public class ReadOnlyException : DataException [C++] [Serializable] public __gc class ReadOnlyException : public DataException [JScript] public Serializable class ReadOnlyException extends DataException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The ReadOnlyException is thrown when invoking the following methods or properties when attempting to change the value of a read-only column.
Requirements
Namespace: System.Data
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System.Data (in System.Data.dll)