다음을 통해 공유


ChannelResponseQueue(ILogger) Constructor

Definition

Producer/consumer queue to read Activities sent by the Adapter during asynchronous background requests such as DeliveryMode.Stream/ExpectReplies.

public ChannelResponseQueue(Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.Agents.Hosting.AspNetCore.ChannelResponseQueue : Microsoft.Extensions.Logging.ILogger -> Microsoft.Agents.Hosting.AspNetCore.ChannelResponseQueue
Public Sub New (logger As ILogger)

Parameters

logger
ILogger

Remarks

StartHandlerForRequest and HandleResponsesAsync are called from the request thread. SendActivitiesAsync would ultimately be called from the background thread as Activities are sent through Adapter. CompleteHandlerForRequest is used to signal the queue for the request is complete and not further Activities will be queued.

Applies to