IJobOperations.CreateAsync(JobCreateParameters, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET