Delen via


EndpointKeysExtensions.GetKeysAsync(IEndpointKeys, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.EndpointKeysDTO> GetKeysAsync (this Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IEndpointKeys operations, System.Threading.CancellationToken cancellationToken = default);
static member GetKeysAsync : Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IEndpointKeys * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.EndpointKeysDTO>
<Extension()>
Public Function GetKeysAsync (operations As IEndpointKeys, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EndpointKeysDTO)

Parameters

operations
IEndpointKeys
cancellationToken
CancellationToken

Returns

Applies to