C# Класс WebApplications.Testing.Data.SqlExceptionPrototype

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SqlExceptionPrototype ( SqlErrorCollection errorCollection, string serverVersion = null, System.Guid conId = default(Guid), Exception innerException = null ) : System

Initializes a new instance of the SqlExceptionPrototype class.

SqlExceptionPrototype ( [ exception ) : System

Initializes a new instance of the SqlExceptionPrototype class.

ToString ( ) : string

Returns a string that represents the current T:System.Data.SqlClient.SqlException object, and includes the client connection ID (for more information, see P:System.Data.SqlClient.SqlException.ClientConnectionId).

Защищенные методы

Метод Описание
GenerateCollection ( int infoNumber, byte errorState, byte errorClass, string errorMessage ) : SqlErrorCollection

Generates the collection.

Приватные методы

Метод Описание
SqlExceptionPrototype ( ) : System

Creates the _constructor lambda.

Описание методов

GenerateCollection() защищенный статический Метод

Generates the collection.
protected static GenerateCollection ( int infoNumber, byte errorState, byte errorClass, string errorMessage ) : SqlErrorCollection
infoNumber int
errorState byte
errorClass byte
errorMessage string
Результат System.Data.SqlClient.SqlErrorCollection

SqlExceptionPrototype() публичный Метод

Initializes a new instance of the SqlExceptionPrototype class.
public SqlExceptionPrototype ( SqlErrorCollection errorCollection, string serverVersion = null, System.Guid conId = default(Guid), Exception innerException = null ) : System
errorCollection System.Data.SqlClient.SqlErrorCollection The error collection.
serverVersion string The server version.
conId System.Guid The connection id.
innerException System.Exception The inner exception.
Результат System

SqlExceptionPrototype() публичный Метод

Initializes a new instance of the SqlExceptionPrototype class.
public SqlExceptionPrototype ( [ exception ) : System
exception [ The exception.
Результат System

ToString() публичный Метод

Returns a string that represents the current T:System.Data.SqlClient.SqlException object, and includes the client connection ID (for more information, see P:System.Data.SqlClient.SqlException.ClientConnectionId).
public ToString ( ) : string
Результат string