CloudCredentials.ProcessHttpRequestAsync Method (HttpRequestMessage, CancellationToken)
Applies the credentials to the HTTP request.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public virtual Task ProcessHttpRequestAsync(
HttpRequestMessage request,
CancellationToken cancellationToken
)
public:
virtual Task^ ProcessHttpRequestAsync(
HttpRequestMessage^ request,
CancellationToken cancellationToken
)
abstract ProcessHttpRequestAsync :
request:HttpRequestMessage *
cancellationToken:CancellationToken -> Task
override ProcessHttpRequestAsync :
request:HttpRequestMessage *
cancellationToken:CancellationToken -> Task
Public Overridable Function ProcessHttpRequestAsync (
request As HttpRequestMessage,
cancellationToken As CancellationToken
) As Task
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe HTTP request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task
A Task object that will be complete when processing is finished.
See Also
CloudCredentials Class
Microsoft.WindowsAzure Namespace
Return to top