Share via


CloudCredentials.ProcessHttpRequestAsync Method

Applies the credentials to the HTTP request.

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

Usage

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

returnValue = instance.ProcessHttpRequestAsync(request, cancellationToken)

Syntax

'Declaration
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

Parameters

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

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

CloudCredentials Class
CloudCredentials Members
Microsoft.WindowsAzure Namespace