Jaa


XUnitDialogTestLogger.LogOutgoingActivityAsync Method

Definition

Logs messages sent from the bot to the user.

protected virtual System.Threading.Tasks.Task LogOutgoingActivityAsync (Microsoft.Bot.Builder.ITurnContext context, Microsoft.Bot.Schema.Activity activity, System.Threading.CancellationToken cancellationToken = default);
abstract member LogOutgoingActivityAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.Activity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.LogOutgoingActivityAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.Activity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function LogOutgoingActivityAsync (context As ITurnContext, activity As Activity, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

context
ITurnContext

The context object for this turn.

activity
Activity

The Activity to be logged.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task that represents the work to execute.

Applies to