IActivityTaskQueue 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.
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. |