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
- clientBaseUri
Type: System.Uri
- serviceType
Type: System.String
- servicePrincipal
Type: System.Guid
- overrideS2SAuth
Type: System.Boolean
Return Value
Type: T
Returns TeamFoundationRequestContext.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.