C# 클래스 WebApplications.Testing.Data.SqlExceptionPrototype

파일 보기 프로젝트 열기: webappsuk/CoreLibraries 1 사용 예제들

공개 메소드들

메소드 설명
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