TfvcHttpClient Constructor (Uri, VssCredentials)
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
baseUrl As Uri, _
credentials As VssCredentials _
)
public TfvcHttpClient(
Uri baseUrl,
VssCredentials credentials
)
public:
TfvcHttpClient(
Uri^ baseUrl,
VssCredentials^ credentials
)
new :
baseUrl:Uri *
credentials:VssCredentials -> TfvcHttpClient
public function TfvcHttpClient(
baseUrl : Uri,
credentials : VssCredentials
)
Parameters
- baseUrl
Type: System.Uri
- credentials
Type: Microsoft.VisualStudio.Services.Common.VssCredentials
.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.