SqlTypeException Constructor (String^, Exception^)

 

Initializes a new instance of the SqlTypeException 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:
SqlTypeException(
	String^ message,
	Exception^ e
)

Parameters

message
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.

e
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
Show: