Поделиться через


TeamFoundationRequestContext.GetClient<T> Method (Uri, String, Guid, Boolean)

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

Syntax

'Declaration
Public Overridable Function GetClient(Of T As VssHttpClientBase) ( _
    clientBaseUri As Uri, _
    serviceType As String, _
    servicePrincipal As Guid, _
    overrideS2SAuth As Boolean _
) As T
public virtual T GetClient<T>(
    Uri clientBaseUri,
    string serviceType,
    Guid servicePrincipal,
    bool overrideS2SAuth
)
where T : VssHttpClientBase
public:
generic<typename T>
where T : VssHttpClientBase 
virtual T GetClient(
    Uri^ clientBaseUri, 
    String^ serviceType, 
    Guid servicePrincipal, 
    bool overrideS2SAuth
)
abstract GetClient : 
        clientBaseUri:Uri * 
        serviceType:string * 
        servicePrincipal:Guid * 
        overrideS2SAuth:bool -> 'T  when 'T : VssHttpClientBase 
override GetClient : 
        clientBaseUri:Uri * 
        serviceType:string * 
        servicePrincipal:Guid * 
        overrideS2SAuth:bool -> 'T  when 'T : VssHttpClientBase
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: T
Returns TeamFoundationRequestContext.

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

GetClient Overload

Microsoft.TeamFoundation.Framework.Server Namespace