DbCommandInterceptor Class |
Namespace: Amazon.XRay.Recorder.Handlers.SqlServer
public class DbCommandInterceptor : IDbCommandInterceptor
The DbCommandInterceptor type exposes the following members.
Name | Description | |
---|---|---|
DbCommandInterceptor | Initializes a new instance of the DbCommandInterceptor class |
Name | Description | |
---|---|---|
CollectSqlInformation |
Records the SQL information on the current subsegment,
| |
InterceptTResult |
Begins a new Subsegment, executes the provided operation,
and records the request in the "sql" member of the subsegment.
| |
InterceptAsyncTResult |
Begins a new Subsegment, executes the provided async operation,
and records the request in the "sql" member of the subsegment.
|