TestAdapter.CreateTurnContext(Activity) 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.
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
Returns
A TurnContext instance to be used by the adapter.