次の方法で共有


EvaluationsClient.UpdateAsync(String, RequestContent, RequestContext) Method

Definition

[Protocol Method] Resource update operation template.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateAsync (string id, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member UpdateAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateAsync (id As String, content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

id
String

Identifier of the evaluation.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

id or content is null.

id is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to