TelemetryInitializerMiddleware Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |