Compartilhar via


JobScheduleOperationsExtensions.GetAsync Método

Definição

Obtém informações sobre a Agenda de Trabalho especificada.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CloudJobSchedule> GetAsync (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleGetOptions jobScheduleGetOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleGetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CloudJobSchedule>
<Extension()>
Public Function GetAsync (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleGetOptions As JobScheduleGetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CloudJobSchedule)

Parâmetros

operations
IJobScheduleOperations

O grupo de operações para esse método de extensão.

jobScheduleId
String

A ID do Agendamento de Trabalho a ser obtido.

jobScheduleGetOptions
JobScheduleGetOptions

Parâmetros adicionais para a operação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a