ChannelAdapter.UpdateActivityAsync 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.
public virtual System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ResourceResponse> UpdateActivityAsync(Microsoft.Agents.Builder.ITurnContext turnContext, Microsoft.Agents.Core.Models.IActivity activity, System.Threading.CancellationToken cancellationToken);
abstract member UpdateActivityAsync : Microsoft.Agents.Builder.ITurnContext * Microsoft.Agents.Core.Models.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ResourceResponse>
override this.UpdateActivityAsync : Microsoft.Agents.Builder.ITurnContext * Microsoft.Agents.Core.Models.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ResourceResponse>
Public Overridable Function UpdateActivityAsync (turnContext As ITurnContext, activity As IActivity, cancellationToken As CancellationToken) As Task(Of ResourceResponse)
Parameters
- turnContext
- ITurnContext
- activity
- IActivity
- cancellationToken
- CancellationToken