C# Class Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule

Telemetry module tracking requests using http module.
Inheritance: ITelemetryModule
Afficher le fichier Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Méthodes publiques

Méthode Description
AddTargetHashForResponseHeader ( HttpContext context ) : void

Adds target response header response object.

Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void

Initializes the telemetry module.

OnBeginRequest ( HttpContext context ) : void

Implements on begin callback of http module.

OnEndRequest ( HttpContext context ) : void

Implements on end callback of http module.

Private Methods

Méthode Description
IsHandlerToFilter ( IHttpHandler handler ) : bool

Checks whether or not handler is a transfer handler.

NeedProcessRequest ( HttpContext httpContext ) : bool

Verifies context to detect whether or not request needs to be processed.

Method Details

AddTargetHashForResponseHeader() public méthode

Adds target response header response object.
public AddTargetHashForResponseHeader ( HttpContext context ) : void
context System.Web.HttpContext
Résultat void

Initialize() public méthode

Initializes the telemetry module.
public Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
configuration Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration Telemetry configuration to use for initialization.
Résultat void

OnBeginRequest() public méthode

Implements on begin callback of http module.
public OnBeginRequest ( HttpContext context ) : void
context System.Web.HttpContext
Résultat void

OnEndRequest() public méthode

Implements on end callback of http module.
public OnEndRequest ( HttpContext context ) : void
context System.Web.HttpContext
Résultat void