| OAuthMessageHandlerSendAsync Method |
[This is preliminary documentation and is subject to change.]
Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.
Namespace: OAuthAssembly: OAuth.Client (in OAuth.Client.dll) Version: 1.0.5795.41329
Syntax protected override Task<HttpResponseMessage> SendAsync(
HttpRequestMessage request,
CancellationToken cancellationToken
)
Protected Overrides Function SendAsync (
request As HttpRequestMessage,
cancellationToken As CancellationToken
) As Task(Of HttpResponseMessage)
protected:
virtual Task<HttpResponseMessage^>^ SendAsync(
HttpRequestMessage^ request,
CancellationToken cancellationToken
) override
abstract SendAsync :
request : HttpRequestMessage *
cancellationToken : CancellationToken -> Task<HttpResponseMessage>
override SendAsync :
request : HttpRequestMessage *
cancellationToken : CancellationToken -> Task<HttpResponseMessage>
Parameters
- request
- Type: System.Net.HttpHttpRequestMessage
HTTP request message. - cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token.
Return Value
Type:
TaskHttpResponseMessageResponse message.
See Also