ChannelApiController.GetActivityAsync Method
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.
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.