Jaa


ILocaleFinder.FindLocale(IActivity, CancellationToken) Method

Definition

Given an activity it finds the locale.

public System.Threading.Tasks.Task<string> FindLocale (Microsoft.Bot.Connector.IActivity activity, System.Threading.CancellationToken token);
abstract member FindLocale : Microsoft.Bot.Connector.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function FindLocale (activity As IActivity, token As CancellationToken) As Task(Of String)

Parameters

activity
IActivity

The activity.

token
CancellationToken

The cancellation token.

Returns

Applies to