Jaa


TelemetryInitializerMiddleware Class

Definition

Middleware for storing incoming activity on the HttpContext to make it available to the TelemetryBotIdInitializer.

public class TelemetryInitializerMiddleware : Microsoft.Bot.Builder.IMiddleware
type TelemetryInitializerMiddleware = class
    interface IMiddleware
Public Class TelemetryInitializerMiddleware
Implements IMiddleware
Inheritance
TelemetryInitializerMiddleware
Implements

Constructors

TelemetryInitializerMiddleware(TelemetryLoggerMiddleware, Boolean)

Initializes a new instance of the TelemetryInitializerMiddleware class.

Methods

OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)

Stores the incoming activity as JSON in the items collection on the HttpContext.

Applies to