다음을 통해 공유


TfsRequestMessageHandler.SendAsync Method

Attaches the active TeamFoundationRequestContext to the request message.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Protected Overrides Function SendAsync ( _
    request As HttpRequestMessage, _
    cancellationToken As CancellationToken _
) As Task(Of HttpResponseMessage)
protected override Task<HttpResponseMessage> SendAsync(
    HttpRequestMessage request,
    CancellationToken cancellationToken
)
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> 
protected override function SendAsync(
    request : HttpRequestMessage, 
    cancellationToken : CancellationToken
) : Task<HttpResponseMessage>

Parameters

Return Value

Type: System.Threading.Tasks.Task<HttpResponseMessage>

.NET Framework Security

See Also

Reference

TfsRequestMessageHandler Class

Microsoft.TeamFoundation.Framework.Server Namespace