SqlNullValueException Constructor ()

 

Initializes a new instance of the SqlNullValueException class with a system-supplied message that describes the error.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public SqlNullValueException()

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" This message takes into account the current system culture.

The following table shows the initial property values for an instance of InsufficientMemoryException.

Property

Value

InnerException

null.

Message

The localized error message string.

.NET Framework
Available since 1.1
Return to top
Show: