IMiddlewareSet.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.Agents.Builder.IMiddlewareSet Use(Microsoft.Agents.Builder.IMiddleware middleware);
abstract member Use : Microsoft.Agents.Builder.IMiddleware -> Microsoft.Agents.Builder.IMiddlewareSet
Public Function Use (middleware As IMiddleware) As IMiddlewareSet
Parameters
- middleware
- IMiddleware
The middleware to add.
Returns
The updated middleware set.