ITriggeredWebJobOperations.RunAsync(String, CancellationToken) Method

Definition

Run a triggered WebJob.

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

Parameters

jobName
String

The triggered 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