Knight Data Access Layer
SqlException Constructor(String,Exception)




KellermanSoftware.NetDataAccessLayer Namespace > SqlException Class > SqlException Constructor : SqlException Constructor(String,Exception)
The exception message
The inner exception
SQL exception with an inner exception
Syntax
Public Function New( _
   ByVal message As String, _
   ByVal innerException As Exception _
)
Dim message As String
Dim innerException As Exception
 
Dim instance As New SqlException(message, innerException)
public SqlException( 
   string message,
   Exception innerException
)
public: SqlException( 
   string* message,
   Exception* innerException
)
public:
SqlException( 
   String^ message,
   Exception^ innerException
)

Parameters

message
The exception message
innerException
The inner exception
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlException Class
SqlException Members
Overload List