Compartilhar via


Método ContinuousWebJobOperationsExtensions.StopAsync

Stop a continuous WebJob.

Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (em Microsoft.WindowsAzure.Management.WebSites.dll)

Uso

'Uso
Dim operations As IContinuousWebJobOperations
Dim jobName As String
Dim returnValue As Task(Of OperationResponse)

returnValue = ContinuousWebJobOperationsExtensions.StopAsync(operations, jobName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function StopAsync ( _
    operations As IContinuousWebJobOperations, _
    jobName As String _
) As Task(Of OperationResponse)
[ExtensionAttribute] 
public static Task<OperationResponse> StopAsync (
    IContinuousWebJobOperations operations,
    string jobName
)
[ExtensionAttribute] 
public:
static Task<OperationResponse^>^ StopAsync (
    IContinuousWebJobOperations^ operations, 
    String^ jobName
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationResponse> StopAsync (
    IContinuousWebJobOperations operations, 
    String jobName
)
ExtensionAttribute 
public static function StopAsync (
    operations : IContinuousWebJobOperations, 
    jobName : String
) : Task<OperationResponse>

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.
  • jobName
    Required. The WebJob name.

Valor de retorno

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

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe ContinuousWebJobOperationsExtensions
Membros ContinuousWebJobOperationsExtensions
Namespace Microsoft.WindowsAzure