GitHttpClient 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 GitHttpClient(
Uri baseUrl,
VssCredentials credentials
)
public:
GitHttpClient(
Uri^ baseUrl,
VssCredentials^ credentials
)
new :
baseUrl:Uri *
credentials:VssCredentials -> GitHttpClient
public function GitHttpClient(
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.