MeteringHttpClient Constructor (Uri, VssCredentials, VssHttpRequestSettings, array<DelegatingHandler )
Namespace: Microsoft.VisualStudio.Services.Commerce.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
baseUrl As Uri, _
credentials As VssCredentials, _
settings As VssHttpRequestSettings, _
ParamArray handlers As DelegatingHandler() _
)
public MeteringHttpClient(
Uri baseUrl,
VssCredentials credentials,
VssHttpRequestSettings settings,
params DelegatingHandler[] handlers
)
public:
MeteringHttpClient(
Uri^ baseUrl,
VssCredentials^ credentials,
VssHttpRequestSettings^ settings,
... array<DelegatingHandler^>^ handlers
)
new :
baseUrl:Uri *
credentials:VssCredentials *
settings:VssHttpRequestSettings *
handlers:DelegatingHandler[] -> MeteringHttpClient
public function MeteringHttpClient(
baseUrl : Uri,
credentials : VssCredentials,
settings : VssHttpRequestSettings,
... 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.