Share via


EvaluationsClient.GetSchedule Method

Definition

Overloads

GetSchedule(String, CancellationToken)

Resource read operation template.

GetSchedule(String, RequestContext)

[Protocol Method] Resource read operation template.

GetSchedule(String, CancellationToken)

Source:
EvaluationsClient.cs

Resource read operation template.

public virtual Azure.Response<Azure.AI.Projects.EvaluationSchedule> GetSchedule (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSchedule : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.EvaluationSchedule>
override this.GetSchedule : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.EvaluationSchedule>
Public Overridable Function GetSchedule (name As String, Optional cancellationToken As CancellationToken = Nothing) As 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

GetSchedule(String, RequestContext)

Source:
EvaluationsClient.cs

[Protocol Method] Resource read operation template.

public virtual Azure.Response GetSchedule (string name, Azure.RequestContext context);
abstract member GetSchedule : string * Azure.RequestContext -> Azure.Response
override this.GetSchedule : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetSchedule (name As String, context As RequestContext) As 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