ADO.NET in a Nutshell

VersionNotFoundException serializable

System.Data (system.data.dll) class

This exception is thrown if you try to access a DataRow after it has been marked deleted, but before changes have been accepted. Typically, it occurs when you try to retrieve the current value of a deleted row. To prevent this exception, check the DataRow.RowState property before attempting to read the value, and skip the task if the row is in the DataRowState.Deleted state. A related exception that has the same cause is DeletedRowInaccessibleException .

public class VersionNotFoundException : DataException { // Public Constructors public VersionNotFoundException ( ); public VersionNotFoundException ( string s ); // Protected Constructors protected VersionNotFoundException (System.Runtime.Serialization.SerializationInfo info , System.Runtime.Serialization.StreamingContext context ); }

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException DataException VersionNotFoundException

Категории