Compartilhar via


Método CloudCredentials.ProcessHttpRequestAsync

Applies the credentials to the HTTP request.

Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common (em Microsoft.WindowsAzure.Common.dll)

Uso

'Uso
Dim instance As CloudCredentials
Dim request As HttpRequestMessage
Dim cancellationToken As CancellationToken
Dim returnValue As Task

returnValue = instance.ProcessHttpRequestAsync(request, cancellationToken)

Sintaxe

'Declaração
Public Overridable Function ProcessHttpRequestAsync ( _
    request As HttpRequestMessage, _
    cancellationToken As CancellationToken _
) As Task
public virtual Task ProcessHttpRequestAsync (
    HttpRequestMessage request,
    CancellationToken cancellationToken
)
public:
virtual Task^ ProcessHttpRequestAsync (
    HttpRequestMessage^ request, 
    CancellationToken cancellationToken
)
public Task ProcessHttpRequestAsync (
    HttpRequestMessage request, 
    CancellationToken cancellationToken
)
public function ProcessHttpRequestAsync (
    request : HttpRequestMessage, 
    cancellationToken : CancellationToken
) : Task

Parâmetros

  • request
    The HTTP request.
  • cancellationToken
    The cancellation token.

Valor de retorno

A Task object that will be complete when processing is finished.

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 CloudCredentials
Membros CloudCredentials
Namespace Microsoft.WindowsAzure