GitHttpClient Constructor (Uri, VssCredentials, array<DelegatingHandler )
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, _
ParamArray handlers As DelegatingHandler() _
)
public GitHttpClient(
Uri baseUrl,
VssCredentials credentials,
params DelegatingHandler[] handlers
)
public:
GitHttpClient(
Uri^ baseUrl,
VssCredentials^ credentials,
... array<DelegatingHandler^>^ handlers
)
new :
baseUrl:Uri *
credentials:VssCredentials *
handlers:DelegatingHandler[] -> GitHttpClient
public function GitHttpClient(
baseUrl : Uri,
credentials : VssCredentials,
... handlers : DelegatingHandler[]
)
Parameters
- baseUrl
Type: System.Uri
- credentials
Type: Microsoft.VisualStudio.Services.Common.VssCredentials
- handlers
Type: array<System.Net.Http.DelegatingHandler[]
.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.