C# Class WebApplications.Testing.Data.SqlErrorPrototype

Show file Open project: webappsuk/CoreLibraries Class Usage Examples

Public Methods

Method Description
SqlErrorPrototype ( [ error ) : System

Initializes a new instance of the SqlErrorPrototype class.

SqlErrorPrototype ( int infoNumber, byte errorState, byte errorClass = 17, string server = "Unspecified server", string errorMessage = "Unspecified error", string procedure = "Unspecified procedure", int lineNumber, uint win32ErrorCode ) : System

Initializes a new instance of the SqlErrorPrototype class, and in doing so initializes the SqlError property.

ToString ( ) : string

Private Methods

Method Description
SqlErrorPrototype ( ) : System

Creates the _constructor lambda.

Method Details

SqlErrorPrototype() public method

Initializes a new instance of the SqlErrorPrototype class.
public SqlErrorPrototype ( [ error ) : System
error [ The error.
return System

SqlErrorPrototype() public method

Initializes a new instance of the SqlErrorPrototype class, and in doing so initializes the SqlError property.
public SqlErrorPrototype ( int infoNumber, byte errorState, byte errorClass = 17, string server = "Unspecified server", string errorMessage = "Unspecified error", string procedure = "Unspecified procedure", int lineNumber, uint win32ErrorCode ) : System
infoNumber int The info number.
errorState byte State of the error.
errorClass byte The error class.
server string The server.
errorMessage string The error message.
procedure string The procedure.
lineNumber int The line number.
win32ErrorCode uint The win32 error code (if this error is the first in a SqlException's collection then /// this value will create an inner exception of type .
return System

ToString() public method

public ToString ( ) : string
return string