[ Team LiB ] Previous Section Next Section

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 figs/U2192.gif System.Exception(System.Runtime.Serialization.ISerializable) figs/U2192.gif System.SystemException figs/U2192.gif DataException figs/U2192.gif VersionNotFoundException

    [ Team LiB ] Previous Section Next Section