Share via


ILuisService.QueryAsync(Uri, CancellationToken) Method

Definition

Query the LUIS service using this uri.

public System.Threading.Tasks.Task<Microsoft.Bot.Builder.Luis.Models.LuisResult> QueryAsync (Uri uri, System.Threading.CancellationToken token);
abstract member QueryAsync : Uri * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Luis.Models.LuisResult>
Public Function QueryAsync (uri As Uri, token As CancellationToken) As Task(Of LuisResult)

Parameters

uri
Uri

The query uri.

token
CancellationToken

The cancellation token.

Returns

The LUIS result.

Applies to