LocaleFinder.FindLocale(IActivity, CancellationToken) 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.
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>
override this.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
- token
- CancellationToken