Delen via


EndpointSettingsExtensions.UpdateSettingsAsync Method

Definition

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

Parameters

operations
IEndpointSettings
endpointSettingsPayload
EndpointSettingsDTO
cancellationToken
CancellationToken

Returns

Applies to