Click or drag to resize

IDbCommandInterceptor Interface

Intercepts DbCommands and records them in new Subsegments.

Namespace:  Amazon.XRay.Recorder.Handlers.SqlServer
Assembly:  AWSXRayRecorder.Handlers.SqlServer (in AWSXRayRecorder.Handlers.SqlServer.dll) Version: 2.11.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
public interface IDbCommandInterceptor

The IDbCommandInterceptor type exposes the following members.

Methods
  NameDescription
Public methodCode exampleInterceptTResult
Begins a new Subsegment, executes the provided operation, and records the request in the "sql" member of the subsegment.
Public methodCode exampleInterceptAsyncTResult
Begins a new Subsegment, executes the provided async operation, and records the request in the "sql" member of the subsegment.
Top
See Also