Compartilhar via


JobScheduleOperationsExtensions.ExistsAsync Método

Definição

Verifica se a Agenda de Trabalho especificada existe.

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

Parâmetros

operations
IJobScheduleOperations

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

jobScheduleId
String

A ID da Agenda de Trabalho que você deseja marcar.

jobScheduleExistsOptions
JobScheduleExistsOptions

Parâmetros adicionais para a operação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a