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
- 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.