다음을 통해 공유


ChannelResponseQueue.HandleResponsesAsync Method

Definition

Processes queued responses. This blocks until CompleteHandlerForRequest is called.

public System.Threading.Tasks.Task HandleResponsesAsync(string requestId, Action<Microsoft.Agents.Core.Models.IActivity> action, System.Threading.CancellationToken cancellationToken);
member this.HandleResponsesAsync : string * Action<Microsoft.Agents.Core.Models.IActivity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function HandleResponsesAsync (requestId As String, action As Action(Of IActivity), cancellationToken As CancellationToken) As Task

Parameters

requestId
String
action
Action<IActivity>

Action to call when an Activity is received.

cancellationToken
CancellationToken

Returns

Applies to