Framework Adapter. Use(IMiddleware) Method
Adds middleware to the adapter's pipeline.
public Microsoft.Bot.Builder.BotFrameworkAdapter Use (Microsoft.Bot.Builder.IMiddleware middleware);
override this.Use : Microsoft.Bot.Builder.IMiddleware -> Microsoft.Bot.Builder.BotFrameworkAdapter
Public Function Use (middleware As IMiddleware) As BotFrameworkAdapter
The middleware to add.
The updated adapter object.
Middleware is added to the adapter at initialization time.
For each turn, the adapter calls middleware in the order in which you added it.