Compartir a través de


JobScheduleOperationsExtensions.TerminateAsync Método

Definición

Finaliza una programación de trabajo.

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

Parámetros

operations
IJobScheduleOperations

El grupo de operaciones de este método de extensión.

jobScheduleId
String

Identificador de la programación de trabajos que se va a finalizar.

jobScheduleTerminateOptions
JobScheduleTerminateOptions

Parámetros adicionales para la operación

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a