C# 클래스 System.Data.SqlClient.SqlClientDiagnosticListenerExtensions

Extension methods on the DiagnosticListener class to log SqlCommand data
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
WriteCommandAfter ( this @this, Guid operationId, SqlCommand sqlCommand, [ operation = "" ) : void
WriteCommandBefore ( this @this, SqlCommand sqlCommand, [ operation = "" ) : Guid
WriteCommandError ( this @this, Guid operationId, SqlCommand sqlCommand, Exception ex, [ operation = "" ) : void
WriteConnectionCloseAfter ( this @this, Guid operationId, Guid clientConnectionId, SqlConnection sqlConnection, [ operation = "" ) : void
WriteConnectionCloseBefore ( this @this, SqlConnection sqlConnection, [ operation = "" ) : Guid
WriteConnectionCloseError ( this @this, Guid operationId, Guid clientConnectionId, SqlConnection sqlConnection, Exception ex, [ operation = "" ) : void
WriteConnectionOpenAfter ( this @this, Guid operationId, SqlConnection sqlConnection, [ operation = "" ) : void
WriteConnectionOpenBefore ( this @this, SqlConnection sqlConnection, [ operation = "" ) : Guid
WriteConnectionOpenError ( this @this, Guid operationId, SqlConnection sqlConnection, Exception ex, [ operation = "" ) : void
WriteTransactionCommitAfter ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, [ operation = "" ) : void
WriteTransactionCommitBefore ( this @this, IsolationLevel isolationLevel, SqlConnection connection, [ operation = "" ) : Guid
WriteTransactionCommitError ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, Exception ex, [ operation = "" ) : void
WriteTransactionRollbackAfter ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, string transactionName, [ operation = "" ) : void
WriteTransactionRollbackBefore ( this @this, IsolationLevel isolationLevel, SqlConnection connection, string transactionName, [ operation = "" ) : Guid
WriteTransactionRollbackError ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, string transactionName, Exception ex, [ operation = "" ) : void

메소드 상세

WriteCommandAfter() 공개 정적인 메소드

public static WriteCommandAfter ( this @this, Guid operationId, SqlCommand sqlCommand, [ operation = "" ) : void
@this this
operationId Guid
sqlCommand SqlCommand
operation [
리턴 void

WriteCommandBefore() 공개 정적인 메소드

public static WriteCommandBefore ( this @this, SqlCommand sqlCommand, [ operation = "" ) : Guid
@this this
sqlCommand SqlCommand
operation [
리턴 Guid

WriteCommandError() 공개 정적인 메소드

public static WriteCommandError ( this @this, Guid operationId, SqlCommand sqlCommand, Exception ex, [ operation = "" ) : void
@this this
operationId Guid
sqlCommand SqlCommand
ex Exception
operation [
리턴 void

WriteConnectionCloseAfter() 공개 정적인 메소드

public static WriteConnectionCloseAfter ( this @this, Guid operationId, Guid clientConnectionId, SqlConnection sqlConnection, [ operation = "" ) : void
@this this
operationId Guid
clientConnectionId Guid
sqlConnection SqlConnection
operation [
리턴 void

WriteConnectionCloseBefore() 공개 정적인 메소드

public static WriteConnectionCloseBefore ( this @this, SqlConnection sqlConnection, [ operation = "" ) : Guid
@this this
sqlConnection SqlConnection
operation [
리턴 Guid

WriteConnectionCloseError() 공개 정적인 메소드

public static WriteConnectionCloseError ( this @this, Guid operationId, Guid clientConnectionId, SqlConnection sqlConnection, Exception ex, [ operation = "" ) : void
@this this
operationId Guid
clientConnectionId Guid
sqlConnection SqlConnection
ex Exception
operation [
리턴 void

WriteConnectionOpenAfter() 공개 정적인 메소드

public static WriteConnectionOpenAfter ( this @this, Guid operationId, SqlConnection sqlConnection, [ operation = "" ) : void
@this this
operationId Guid
sqlConnection SqlConnection
operation [
리턴 void

WriteConnectionOpenBefore() 공개 정적인 메소드

public static WriteConnectionOpenBefore ( this @this, SqlConnection sqlConnection, [ operation = "" ) : Guid
@this this
sqlConnection SqlConnection
operation [
리턴 Guid

WriteConnectionOpenError() 공개 정적인 메소드

public static WriteConnectionOpenError ( this @this, Guid operationId, SqlConnection sqlConnection, Exception ex, [ operation = "" ) : void
@this this
operationId Guid
sqlConnection SqlConnection
ex Exception
operation [
리턴 void

WriteTransactionCommitAfter() 공개 정적인 메소드

public static WriteTransactionCommitAfter ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, [ operation = "" ) : void
@this this
operationId Guid
isolationLevel IsolationLevel
connection SqlConnection
operation [
리턴 void

WriteTransactionCommitBefore() 공개 정적인 메소드

public static WriteTransactionCommitBefore ( this @this, IsolationLevel isolationLevel, SqlConnection connection, [ operation = "" ) : Guid
@this this
isolationLevel IsolationLevel
connection SqlConnection
operation [
리턴 Guid

WriteTransactionCommitError() 공개 정적인 메소드

public static WriteTransactionCommitError ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, Exception ex, [ operation = "" ) : void
@this this
operationId Guid
isolationLevel IsolationLevel
connection SqlConnection
ex Exception
operation [
리턴 void

WriteTransactionRollbackAfter() 공개 정적인 메소드

public static WriteTransactionRollbackAfter ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, string transactionName, [ operation = "" ) : void
@this this
operationId Guid
isolationLevel IsolationLevel
connection SqlConnection
transactionName string
operation [
리턴 void

WriteTransactionRollbackBefore() 공개 정적인 메소드

public static WriteTransactionRollbackBefore ( this @this, IsolationLevel isolationLevel, SqlConnection connection, string transactionName, [ operation = "" ) : Guid
@this this
isolationLevel IsolationLevel
connection SqlConnection
transactionName string
operation [
리턴 Guid

WriteTransactionRollbackError() 공개 정적인 메소드

public static WriteTransactionRollbackError ( this @this, Guid operationId, IsolationLevel isolationLevel, SqlConnection connection, string transactionName, Exception ex, [ operation = "" ) : void
@this this
operationId Guid
isolationLevel IsolationLevel
connection SqlConnection
transactionName string
ex Exception
operation [
리턴 void