Condividi tramite


Metodo IContinuousWebJobOperations.SetSettingsAsync

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

Spazio dei nomi: Microsoft.WindowsAzure.WebSitesExtensions
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Utilizzo

'Utilizzo
Dim instance As IContinuousWebJobOperations
Dim jobName As String
Dim settings As ContinuousWebJobSettingsUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationResponse)

returnValue = instance.SetSettingsAsync(jobName, settings, cancellationToken)

Sintassi

'Dichiarazione
Function SetSettingsAsync ( _
    jobName As String, _
    settings As ContinuousWebJobSettingsUpdateParameters, _
    cancellationToken As CancellationToken _
) As Task(Of OperationResponse)
Task<OperationResponse> SetSettingsAsync (
    string jobName,
    ContinuousWebJobSettingsUpdateParameters settings,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ SetSettingsAsync (
    String^ jobName, 
    ContinuousWebJobSettingsUpdateParameters^ settings, 
    CancellationToken cancellationToken
)
Task<OperationResponse> SetSettingsAsync (
    String jobName, 
    ContinuousWebJobSettingsUpdateParameters settings, 
    CancellationToken cancellationToken
)
function SetSettingsAsync (
    jobName : String, 
    settings : ContinuousWebJobSettingsUpdateParameters, 
    cancellationToken : CancellationToken
) : Task<OperationResponse>

Parametri

  • jobName
    The continuous WebJob name.
  • settings
    The continuous WebJob settings.
  • cancellationToken
    Cancellation token.

Valore restituito

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

Sicurezza dei thread

Qualsiasi membro statico pubblico (condiviso in Visual Basic) di questo tipo è thread safe. Non è invece garantita la sicurezza dei membri dell'istanza.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows 7 e Windows Server 2008

Piattaforme di destinazione

Vedere anche

Riferimento

Interfaccia IContinuousWebJobOperations
Membri IContinuousWebJobOperations
Spazio dei nomi Microsoft.WindowsAzure.WebSitesExtensions