MiddlewareSet 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.
Contains an ordered set of IMiddleware.
public class MiddlewareSet : Microsoft.Bot.Builder.IMiddleware, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.IMiddleware>
type MiddlewareSet = class
interface IMiddleware
interface seq<IMiddleware>
interface IEnumerable
Public Class MiddlewareSet
Implements IEnumerable(Of IMiddleware), IMiddleware
- Inheritance
-
MiddlewareSet
- Implements
Constructors
MiddlewareSet() |
Methods
GetEnumerator() |
Gets an enumerator that iterates over a collection of implementations of IMiddleware objects. |
OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) |
Processes an incoming activity. |
ReceiveActivityWithStatusAsync(ITurnContext, BotCallbackHandler, CancellationToken) |
Processes an activity. |
Use(IMiddleware) |
Adds a middleware object to the end of the set. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |