IAgent Interface

Definition

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.

Applies to

See also