Share via


OAuthHttpClient Constructor (Uri, VssCredentials, array<DelegatingHandler )

Namespace:  Microsoft.VisualStudio.Services.OAuth.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Sub New ( _
    baseUrl As Uri, _
    credentials As VssCredentials, _
    ParamArray handlers As DelegatingHandler() _
)
public OAuthHttpClient(
    Uri baseUrl,
    VssCredentials credentials,
    params DelegatingHandler[] handlers
)
public:
OAuthHttpClient(
    Uri^ baseUrl, 
    VssCredentials^ credentials, 
    ... array<DelegatingHandler^>^ handlers
)
new : 
        baseUrl:Uri * 
        credentials:VssCredentials * 
        handlers:DelegatingHandler[] -> OAuthHttpClient
public function OAuthHttpClient(
    baseUrl : Uri, 
    credentials : VssCredentials, 
    ... handlers : DelegatingHandler[]
)

Parameters

.NET Framework Security

See Also

Reference

OAuthHttpClient Class

OAuthHttpClient Overload

Microsoft.VisualStudio.Services.OAuth.Client Namespace