BotService.Initialize(Assembly) BotService.Initialize(Assembly) Method

Definition

Initialize bot service by updating the Container with AzureModule.

public static Microsoft.Bot.Builder.Azure.BotServiceScope Initialize (System.Reflection.Assembly assembly = null);
static member Initialize : System.Reflection.Assembly -> Microsoft.Bot.Builder.Azure.BotServiceScope

Parameters

assembly
Assembly Assembly

The assembly that should be resolved.

Returns

The BotServiceScope that should be disposed when bot service operation is done for the request.

Applies to