ChannelApiController.GetActivityAsync Method

Definition

Asynchronously retrieves the activity from the current HTTP request.

protected System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.Activity> GetActivityAsync();
member this.GetActivityAsync : unit -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.Activity>
Protected Function GetActivityAsync () As Task(Of Activity)

Returns

A task that represents the asynchronous operation. The task result contains the Activity deserialized from the HTTP request body.

Applies to