SqlNullValueException Constructor (String, Exception)
Collapse the table of content
Expand the table of content

SqlNullValueException Constructor (String, Exception)


Initializes a new instance of the SqlNullValueException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

public SqlNullValueException(
	string message,
	Exception e


Type: System.String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Type: System.Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft