Method | Description | |
---|---|---|
Dispose ( ) : void | ||
OnBeginExecuteCallback ( long id, string dataSource, string database, string commandText ) : void |
On begin callback from Framework event source.
|
|
OnEndExecuteCallback ( long id, bool success, bool synchronous, int sqlExceptionNumber ) : void |
On end callback from Framework event source.
|
Method | Description | |
---|---|---|
FrameworkSqlProcessing ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration, Microsoft.ApplicationInsights.DependencyCollector.Implementation.Operation.CacheBasedOperationHolder telemetryTupleHolder ) : System |
Initializes a new instance of the FrameworkSqlProcessing class.
|
|
GetResourceName ( string dataSource, string database, string commandText ) : string |
Gets SQL command resource name.
|
public OnBeginExecuteCallback ( long id, string dataSource, string database, string commandText ) : void | ||
id | long | Identifier of SQL connection object. |
dataSource | string | Data source name. |
database | string | Database name. |
commandText | string | Command text. |
return | void |
public OnEndExecuteCallback ( long id, bool success, bool synchronous, int sqlExceptionNumber ) : void | ||
id | long | Identifier of SQL connection object. |
success | bool | Indicate whether operation completed successfully. |
synchronous | bool | Indicates whether operation was called synchronously or asynchronously. |
sqlExceptionNumber | int | SQL exception number. |
return | void |