IAgent Interface
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.
Represents an Agent that can receive incoming Activities.
public interface IAgent
type IAgent = interface
Public Interface IAgent
- Derived
Remarks
A IChannelAdapter passes incoming Activities from the channel to the Agent's OnTurnAsync(ITurnContext, CancellationToken) method after the Middleware registered with the Adapter have executed.
Methods
| OnTurnAsync(ITurnContext, CancellationToken) |
When implemented in an Agent, handles an incoming activity. |