Compartilhar via


IActivityTaskQueue Interface

Definition

Interface for a class used to transfer an ActivityWithClaims to the Microsoft.Agents.Hosting.AspNetCore.BackgroundQueue.HostedActivityService.

public interface IActivityTaskQueue
type IActivityTaskQueue = interface
Public Interface IActivityTaskQueue

Methods

QueueBackgroundActivity(ClaimsIdentity, IActivity, Boolean, String, Type, Func<InvokeResponse,Task>, IHeaderDictionary)

Enqueue an Activity, with Claims, to be processed on a background thread. before enqueueing.

WaitForActivityAsync(CancellationToken)

Wait for a signal of an enqueued Activity with Claims to be processed.

Applies to