ILuisService.QueryAsync(Uri, 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.
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.