C# Class ApplicationInsights.OwinExtensions.HttpRequestTrackingMiddleware

Inheritance: Microsoft.Owin.OwinMiddleware
Afficher le fichier Open project: marcinbudny/applicationinsights-owinextensions

Méthodes publiques

Méthode Description
HttpRequestTrackingMiddleware ( Microsoft.Owin.OwinMiddleware next, Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration = null, Func shouldTraceRequest = null ) : System
Invoke ( IOwinContext context ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
ShouldTraceRequest ( IOwinContext context ) : bool
TraceRequest ( string method, string path, Uri uri, int responseCode, DateTimeOffset requestStartDate, System.TimeSpan duration ) : void

Method Details

HttpRequestTrackingMiddleware() public méthode

public HttpRequestTrackingMiddleware ( Microsoft.Owin.OwinMiddleware next, Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration = null, Func shouldTraceRequest = null ) : System
next Microsoft.Owin.OwinMiddleware
configuration Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
shouldTraceRequest Func
Résultat System

Invoke() public méthode

public Invoke ( IOwinContext context ) : System.Threading.Tasks.Task
context IOwinContext
Résultat System.Threading.Tasks.Task