CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ TrackRequest< TAuthenticationToken >()

static void Cqrs.Configuration.ITelemetryHelperExtensions.TrackRequest< TAuthenticationToken > ( this ITelemetryHelper  telemetryHelper,
string  name,
TAuthenticationToken  token,
DateTimeOffset  startTime,
TimeSpan  duration,
string  responseCode,
bool  wasSuccessfull,
IDictionary< string, string >  properties = null 
)
static

Send information about a request handled by the application.

Parameters
telemetryHelperThe ITelemetryHelper being extended.s
nameThe request name.
tokenThe token with user identifiable information.
startTimeThe time when the page was requested.
durationThe time taken by the application to handle the request.
responseCodeThe response status code.
wasSuccessfullTrue if the request was handled successfully by the application.
propertiesNamed string values you can use to search and classify events.
Type Constraints
TAuthenticationToken :ISingleSignOnToken