Jaa


TestAdapter.CreateTurnContext(Activity) Method

Definition

Creates the turn context for the adapter.

protected virtual Microsoft.Bot.Builder.TurnContext CreateTurnContext (Microsoft.Bot.Schema.Activity activity);
abstract member CreateTurnContext : Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Builder.TurnContext
override this.CreateTurnContext : Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Builder.TurnContext
Protected Overridable Function CreateTurnContext (activity As Activity) As TurnContext

Parameters

activity
Activity

An Activity instance for the turn.

Returns

A TurnContext instance to be used by the adapter.

Applies to