C# Класс System.Data.SqlClient.SqlClientDiagnosticListenerExtensions

Extension methods on the DiagnosticListener class to log SqlCommand data
Показать файл Открыть проект

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

Метод Описание
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