Поделиться через


OAuthHttpClient Constructor (Uri, VssCredentials, VssHttpRequestSettings, 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, _
    settings As VssHttpRequestSettings, _
    ParamArray handlers As DelegatingHandler() _
)
public OAuthHttpClient(
    Uri baseUrl,
    VssCredentials credentials,
    VssHttpRequestSettings settings,
    params DelegatingHandler[] handlers
)
public:
OAuthHttpClient(
    Uri^ baseUrl, 
    VssCredentials^ credentials, 
    VssHttpRequestSettings^ settings, 
    ... array<DelegatingHandler^>^ handlers
)
new : 
        baseUrl:Uri * 
        credentials:VssCredentials * 
        settings:VssHttpRequestSettings * 
        handlers:DelegatingHandler[] -> OAuthHttpClient
public function OAuthHttpClient(
    baseUrl : Uri, 
    credentials : VssCredentials, 
    settings : VssHttpRequestSettings, 
    ... handlers : DelegatingHandler[]
)

Parameters

.NET Framework Security

See Also

Reference

OAuthHttpClient Class

OAuthHttpClient Overload

Microsoft.VisualStudio.Services.OAuth.Client Namespace