แชร์ผ่าน


MiddlewareSet.Use(IMiddleware) Method

Definition

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.

Applies to