C# Класс NContrib.Extensions.SqlExceptionExtensions

Показать файл Открыть проект

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

Метод Описание
Describe ( this ex ) : string

I

ErrorMessages ( this ex ) : string[]

List of actual error messages. Anything with a class/severity of 11 or higher Excludes informational messages. Those can be retrieved from InfoMessages

InfoMessages ( this ex ) : string[]

List of non-error messages that were lumped in with the errors These are print messages, or anything with a class/severity of 10 or lower

UserErrorMessages ( this ex ) : string[]

Errors that should be displayed to the user

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

Метод Описание
FormatError ( SqlError err ) : string

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

Describe() публичный статический Метод

I
public static Describe ( this ex ) : string
ex this
Результат string

ErrorMessages() публичный статический Метод

List of actual error messages. Anything with a class/severity of 11 or higher Excludes informational messages. Those can be retrieved from InfoMessages
public static ErrorMessages ( this ex ) : string[]
ex this
Результат string[]

InfoMessages() публичный статический Метод

List of non-error messages that were lumped in with the errors These are print messages, or anything with a class/severity of 10 or lower
public static InfoMessages ( this ex ) : string[]
ex this
Результат string[]

UserErrorMessages() публичный статический Метод

Errors that should be displayed to the user
public static UserErrorMessages ( this ex ) : string[]
ex this
Результат string[]