IContinuousWebJobOperations.StartAsync(String, CancellationToken) Method

Definition

Start a continuous WebJob.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> StartAsync (string jobName, System.Threading.CancellationToken cancellationToken);
abstract member StartAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function StartAsync (jobName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

jobName
String

The WebJob name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to