TelemetrySaveBodyASPMiddleware 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.
Caution
This class is deprecated. Please add TelemetryInitializerMiddleware to your adapter's middleware pipeline instead.
Middleware to store the incoming activity request body into the HttpContext items collection. This class has been deprecated in favor of using TelemetryInitializerMiddleware in Microsoft.Bot.Integration.ApplicationInsights.Core and Microsoft.Bot.Integration.ApplicationInsights.WebApi.
[System.Obsolete("This class is deprecated. Please add TelemetryInitializerMiddleware to your adapter's middleware pipeline instead.")]
public class TelemetrySaveBodyASPMiddleware
[<System.Obsolete("This class is deprecated. Please add TelemetryInitializerMiddleware to your adapter's middleware pipeline instead.")>]
type TelemetrySaveBodyASPMiddleware = class
Public Class TelemetrySaveBodyASPMiddleware
- Inheritance
-
TelemetrySaveBodyASPMiddleware
- Attributes
Constructors
TelemetrySaveBodyASPMiddleware(RequestDelegate) |
Initializes a new instance of the TelemetrySaveBodyASPMiddleware class. |
Methods
Invoke(HttpContext) |
Invokes the TelemetrySaveBodyASPMiddleware middleware. |