Udostępnij za pośrednictwem


IJobOperations.CreateAsync(JobCreateParameters, CancellationToken) Method

Definition

Creates a new Job, allowing the service to generate a job id. Use CreateOrUpdate if a user-chosen job id is required.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateResponse> CreateAsync (Microsoft.WindowsAzure.Scheduler.Models.JobCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : Microsoft.WindowsAzure.Scheduler.Models.JobCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateResponse>
Public Function CreateAsync (parameters As JobCreateParameters, cancellationToken As CancellationToken) As Task(Of JobCreateResponse)

Parameters

parameters
JobCreateParameters

Parameters specifying the job definition for a Create Job operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Create Job operation response.

Applies to