System.Data.SqlTypes.SqlNullValueException Class

The exception that is thrown when the Value property of a System.Data.SqlTypes structure is set to null.

See Also: SqlNullValueException Members

Syntax

public sealed class SqlNullValueException : SqlTypeException

Remarks

In order to avoid throwing this exception, you should always examine the IsNull property of the structure before accessing the Value property.

Requirements

Namespace: System.Data.SqlTypes
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0