Compartilhar via


ILocaleFinder.FindLocale(IActivity, CancellationToken) Método

Definição

Dada uma atividade, ele encontra a localidade.

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)

Parâmetros

activity
IActivity

A atividade.

token
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a