Compartilhar via


EvaluationsClient.GetScheduleAsync Method

Definition

Overloads

GetScheduleAsync(String, RequestContext)

[Protocol Method] Resource read operation template.

GetScheduleAsync(String, CancellationToken)

Resource read operation template.

GetScheduleAsync(String, RequestContext)

Source:
EvaluationsClient.cs

[Protocol Method] Resource read operation template.

public virtual System.Threading.Tasks.Task<Azure.Response> GetScheduleAsync (string name, Azure.RequestContext context);
abstract member GetScheduleAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetScheduleAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetScheduleAsync (name As String, context As RequestContext) As Task(Of Response)

Parameters

name
String

Name of the schedule, which also serves as the unique identifier for the evaluation.

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

name is null.

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

Service returned a non-success status code.

Applies to

GetScheduleAsync(String, CancellationToken)

Source:
EvaluationsClient.cs

Resource read operation template.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.EvaluationSchedule>> GetScheduleAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetScheduleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.EvaluationSchedule>>
override this.GetScheduleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.EvaluationSchedule>>
Public Overridable Function GetScheduleAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EvaluationSchedule))

Parameters

name
String

Name of the schedule, which also serves as the unique identifier for the evaluation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

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

Applies to