Udostępnij za pośrednictwem


JobOperationsExtensions.CreateAsync 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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateResponse> CreateAsync (this Microsoft.WindowsAzure.Scheduler.IJobOperations operations, Microsoft.WindowsAzure.Scheduler.Models.JobCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Scheduler.IJobOperations * Microsoft.WindowsAzure.Scheduler.Models.JobCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IJobOperations, parameters As JobCreateParameters) As Task(Of JobCreateResponse)

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.

parameters
JobCreateParameters

Required. Parameters specifying the job definition for a Create Job operation.

Returns

The Create Job operation response.

Applies to