Microsoft.Data.SqlClient.SqlClientEventSource
ETW EventSource for Microsoft.Data.SqlClient tracing and diagnostics.
These represent logical groups of events that can be turned on and off independently.
Often each task has a keyword, but where tasks are determined by subsystem, keywords
are determined by usefulness to end users to filter.
Tasks supported by SqlClient's EventSource implementation.
Defines the singleton instance for the Resources ETW provider.
A callback that is invoked when the EventSource receives an Enable command.
Can be used to hook metrics or other subsystems that need to respond to EventSource enablement.
Gets a value indicating whether the EventSource has been enabled at least once.
This can be checked by downstream consumers to handle early enabling that may
occur before callbacks are registered.
Enters an advanced scope.
Leaves an advanced scope.
Writes an advanced trace event.
Writes an advanced trace binary event.
Writes an advanced trace error event.
Writes a formatted advanced trace event with one argument.
Writes a formatted advanced trace event with two arguments.
Writes a formatted advanced trace event with three arguments.
public void AdvancedTraceEvent<T0, T1, T2, T3>(string message, T0 args0, T1 args1, T2 args2, T3 args3)
Writes a formatted advanced trace event with four arguments.
public void BeginExecute(int objectId, string dataSource, string database, string commandText, string message)
Writes a BeginExecute event.
Writes a correlation trace event.
Writes an EndExecute event.
Checks if advanced trace binary events are enabled.
Checks if advanced trace events are enabled.
Checks if correlation trace events are enabled.
Checks if execution trace events are enabled.
Checks if notification scope events are enabled.
Checks if notification trace events are enabled.
Checks if pooler scope events are enabled.
Checks if pooler trace events are enabled.
Checks if scope events are enabled.
Checks if SNI scope events are enabled.
Checks if SNI trace events are enabled.
Checks if state dump events are enabled.
Checks if trace events are enabled.
Enters a notification scope.
Leaves a notification scope.
Writes a notification trace event.
Writes a formatted notification trace event with two arguments.
Enters a pooler scope.
Leaves a pooler scope.
Writes a pooler trace event.
Enters a scope.
Leaves a scope.
Enters an SNI scope.
Leaves an SNI scope.
Writes an SNI trace event.
Writes a state dump event.
Writes a formatted state dump event with two arguments.
Writes a formatted state dump event with three arguments.
Writes a Trace event.
Writes a formatted trace event with two arguments.
Writes a formatted trace event with three arguments.
Writes a formatted trace event with four arguments.
Enters an advanced scope with one formatted argument if advanced tracing is enabled.
Writes a formatted advanced trace binary event with three arguments if advanced binary tracing is enabled.
public void TryAdvancedTraceErrorEvent<T0, T1, T2, T3, T4>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4)
Writes a formatted advanced trace error event with five arguments if advanced tracing is enabled.
Writes an advanced trace event if advanced tracing is enabled.
Writes a formatted advanced trace event with one argument if advanced tracing is enabled.
Writes a formatted advanced trace event with two arguments if advanced tracing is enabled.
Writes a formatted advanced trace event with three arguments if advanced tracing is enabled.
public void TryAdvancedTraceEvent<T0, T1, T2, T3>(string message, T0 args0, T1 args1, T2 args2, T3 args3)
Writes a formatted advanced trace event with four arguments if advanced tracing is enabled.
public void TryAdvancedTraceEvent<T0, T1, T2, T3, T4>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4)
Writes a formatted advanced trace event with five arguments if advanced tracing is enabled.
public void TryAdvancedTraceEvent<T0, T1, T2, T3, T4, T5>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, T5 args5)
Writes a formatted advanced trace event with six arguments if advanced tracing is enabled.
public void TryAdvancedTraceEvent<T0, T1, T2, T3, T4, T5, T6, T7>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, T5 args5, T6 args6, T7 args7)
Writes a formatted advanced trace event with eight arguments if advanced tracing is enabled.
public void TryAdvancedTraceEvent<T0, T1, T2, T3, T4, T5, T6>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, T5 args5, T6 args6)
Writes a formatted advanced trace event with seven arguments if advanced tracing is enabled.
Leaves an advanced scope if advanced tracing is enabled.
public void TryBeginExecuteEvent(int objectId, string dataSource, string database, string commandText, Guid? connectionId, string memberName = "")
Writes a BeginExecute trace event if execution tracing is enabled.
Writes a correlation trace event if correlation tracing is enabled.
Writes a formatted correlation trace event with one argument if correlation tracing is enabled.
Writes a formatted correlation trace event with two arguments if correlation tracing is enabled.
Writes a formatted correlation trace event with three arguments if correlation tracing is enabled.
public void TryCorrelationTraceEvent<T0, T1, T2, T3>(string message, T0 args0, T1 args1, T2 args2, T3 args3)
Writes a formatted correlation trace event with four arguments if correlation tracing is enabled.
public void TryCorrelationTraceEvent<T0, T1, T2, T3, T4>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4)
Writes a formatted correlation trace event with five arguments if correlation tracing is enabled.
public void TryCorrelationTraceEvent<T0, T1, T2, T3, T4, T5>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, T5 args5)
Writes a formatted correlation trace event with six arguments if correlation tracing is enabled.
public void TryEndExecuteEvent(int objectId, int compositeState, int sqlExceptionNumber, Guid? connectionId, string memberName = "")
Writes an EndExecute trace event if execution tracing is enabled.
Enters a notification scope with one formatted argument if notification scope tracing is enabled.
Enters a notification scope with two formatted arguments if notification scope tracing is enabled.
public long TryNotificationScopeEnterEvent<T0, T1, T2>(string message, T0 args0, T1 args1, T2 args2)
Enters a notification scope with three formatted arguments if notification scope tracing is enabled.
public long TryNotificationScopeEnterEvent<T0, T1, T2, T3>(string message, T0 args0, T1 args1, T2 args2, T3 args3)
Enters a notification scope with four formatted arguments if notification scope tracing is enabled.
Leaves a notification scope if notification scope tracing is enabled.
Writes a notification trace event if notification tracing is enabled.
Writes a formatted notification trace event with one argument if notification tracing is enabled.
Writes a formatted notification trace event with two arguments if notification tracing is enabled.
Writes a formatted notification trace event with three arguments if notification tracing is enabled.
public void TryNotificationTraceEvent<T0, T1, T2, T3>(string message, T0 args0, T1 args1, T2 args2, T3 args3)
Writes a formatted notification trace event with four arguments if notification tracing is enabled.
Enters a pooler scope with one formatted argument if pooler scope tracing is enabled.
Leaves a pooler scope if pooler scope tracing is enabled.
Writes a pooler trace event if pooler tracing is enabled.
Writes a formatted pooler trace event with one argument if pooler tracing is enabled.
Writes a formatted pooler trace event with two arguments if pooler tracing is enabled.
Writes a formatted pooler trace event with three arguments if pooler tracing is enabled.
public void TryPoolerTraceEvent<T0, T1, T2, T3>(string message, T0 args0, T1 args1, T2 args2, T3 args3)
Writes a formatted pooler trace event with four arguments if pooler tracing is enabled.
Enters a scope and writes a scope event if scope tracing is enabled.
Enters a scope with one formatted argument if scope tracing is enabled.
Enters a scope with two formatted arguments if scope tracing is enabled.
Enters a scope with three formatted arguments if scope tracing is enabled.
public long TryScopeEnterEvent<T0, T1, T2, T3>(string message, T0 args0, T1 args1, T2 args2, T3 args3)
Enters a scope with four formatted arguments if scope tracing is enabled.
Leaves a scope if scope tracing is enabled.
Enters an SNI scope if SNI scope tracing is enabled.
Leaves an SNI scope if SNI scope tracing is enabled.
public void TrySNITraceEvent(string className, string eventType, string message, string memberName = "")
Writes an SNI trace event if SNI tracing is enabled.
public void TrySNITraceEvent<T0>(string className, string eventType, string message, T0 args0, string memberName = "")
Writes a formatted SNI trace event with one argument if SNI tracing is enabled.
public void TrySNITraceEvent<T0, T1>(string className, string eventType, string message, T0 args0, T1 args1, string memberName = "")
Writes a formatted SNI trace event with two arguments if SNI tracing is enabled.
public void TrySNITraceEvent<T0, T1, T2>(string className, string eventType, string message, T0 args0, T1 args1, T2 args2, string memberName = "")
Writes a formatted SNI trace event with three arguments if SNI tracing is enabled.
public void TrySNITraceEvent<T0, T1, T2, T3>(string className, string eventType, string message, T0 args0, T1 args1, T2 args2, T3 args3, string memberName = "")
Writes a formatted SNI trace event with four arguments if SNI tracing is enabled.
public void TrySNITraceEvent<T0, T1, T2, T3, T4>(string className, string eventType, string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, string memberName = "")
Writes a formatted SNI trace event with five arguments if SNI tracing is enabled.
public void TrySNITraceEvent<T0, T1, T2, T3, T4, T5>(string className, string eventType, string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, T5 args5, string memberName = "")
Writes a formatted SNI trace event with six arguments if SNI tracing is enabled.
Writes a trace event if trace is enabled.
Writes a formatted trace event with one argument if trace is enabled.
Writes a formatted trace event with two arguments if trace is enabled.
Writes a formatted trace event with three arguments if trace is enabled.
Writes a formatted trace event with four arguments if trace is enabled.
public void TryTraceEvent<T0, T1, T2, T3, T4>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4)
Writes a formatted trace event with five arguments if trace is enabled.
public void TryTraceEvent<T0, T1, T2, T3, T4, T5>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, T5 args5)
Writes a formatted trace event with six arguments if trace is enabled.
public void TryTraceEvent<T0, T1, T2, T3, T4, T5, T6>(string message, T0 args0, T1 args1, T2 args2, T3 args3, T4 args4, T5 args5, T6 arg6)
Writes a formatted trace event with seven arguments if trace is enabled.