CloudCredentials.ProcessHttpRequestAsync Method (HttpRequestMessage, CancellationToken)

 

Applies the credentials to the HTTP request.

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

Public Overridable Function ProcessHttpRequestAsync (
	request As HttpRequestMessage,
	cancellationToken As CancellationToken
) As Task

Parameters

request
Type: System.Net.Http.HttpRequestMessage

The HTTP request.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

Type: System.Threading.Tasks.Task

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

Return to top
Show: