Delen via


TfsImpersonationMessageHandler.SendAsync Method

Adds the impersonation header for S2S calls

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

TfsImpersonationMessageHandler Class

Microsoft.TeamFoundation.Framework.Server Namespace