MiddlewareSet.Use(IMiddleware) Method
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.
Adds a middleware object to the end of the set.
public Microsoft.Bot.Builder.MiddlewareSet Use (Microsoft.Bot.Builder.IMiddleware middleware);
member this.Use : Microsoft.Bot.Builder.IMiddleware -> Microsoft.Bot.Builder.MiddlewareSet
Public Function Use (middleware As IMiddleware) As MiddlewareSet
Parameters
- middleware
- IMiddleware
The middleware to add.
Returns
The updated middleware set.