TelemetryBotIdInitializer(IHttpContextAccessor) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der TelemetryBotIdInitializer-Klasse.
public TelemetryBotIdInitializer (Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor);
new Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.TelemetryBotIdInitializer : Microsoft.AspNetCore.Http.IHttpContextAccessor -> Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.TelemetryBotIdInitializer
Public Sub New (httpContextAccessor As IHttpContextAccessor)
Parameter
- httpContextAccessor
- IHttpContextAccessor
Der HttpContextAccessor, der für den Zugriff auf den aktuellen HttpContext verwendet wird.