Compartilhar via


Método IDeploymentOperations.RedeployAsync

Redeploys a specific website deployment.

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

Uso

'Uso
Dim instance As IDeploymentOperations
Dim deploymentId As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationResponse)

returnValue = instance.RedeployAsync(deploymentId, cancellationToken)

Sintaxe

'Declaração
Function RedeployAsync ( _
    deploymentId As String, _
    cancellationToken As CancellationToken _
) As Task(Of OperationResponse)
Task<OperationResponse> RedeployAsync (
    string deploymentId,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ RedeployAsync (
    String^ deploymentId, 
    CancellationToken cancellationToken
)
Task<OperationResponse> RedeployAsync (
    String deploymentId, 
    CancellationToken cancellationToken
)
function RedeployAsync (
    deploymentId : String, 
    cancellationToken : CancellationToken
) : Task<OperationResponse>

Parâmetros

  • deploymentId
    The deployment identifier.
  • cancellationToken
    Cancellation token.

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

Interface IDeploymentOperations
Membros IDeploymentOperations
Namespace Microsoft.WindowsAzure.WebSitesExtensions