Udostępnij za pośrednictwem


ContinuousWebJobOperationsExtensions.SetSettingsAsync Method

Definition

Set the settings of a continuous WebJob (will replace the current settings of the WebJob).

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> SetSettingsAsync (this Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations operations, string jobName, Microsoft.WindowsAzure.WebSitesExtensions.Models.ContinuousWebJobSettingsUpdateParameters settings);
static member SetSettingsAsync : Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations * string * Microsoft.WindowsAzure.WebSitesExtensions.Models.ContinuousWebJobSettingsUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function SetSettingsAsync (operations As IContinuousWebJobOperations, jobName As String, settings As ContinuousWebJobSettingsUpdateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
IContinuousWebJobOperations

Reference to the Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.

jobName
String

Required. The continuous WebJob name.

settings
ContinuousWebJobSettingsUpdateParameters

Required. The continuous WebJob settings.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to