Metodo IContinuousWebJobOperations.StopAsync
Stop a continuous 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 cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationResponse)
returnValue = instance.StopAsync(jobName, cancellationToken)
Sintassi
'Dichiarazione
Function StopAsync ( _
jobName As String, _
cancellationToken As CancellationToken _
) As Task(Of OperationResponse)
Task<OperationResponse> StopAsync (
string jobName,
CancellationToken cancellationToken
)
Task<OperationResponse^>^ StopAsync (
String^ jobName,
CancellationToken cancellationToken
)
Task<OperationResponse> StopAsync (
String jobName,
CancellationToken cancellationToken
)
function StopAsync (
jobName : String,
cancellationToken : CancellationToken
) : Task<OperationResponse>
Parametri
- jobName
The WebJob name.
- 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