Partager via


AsAzureDataplaneClient Constructor

Definition

Initializes a new instance of the AsAzureDataplaneClient class.

public AsAzureDataplaneClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, Func<System.Net.Http.HttpClient> httpClientProvider, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Commands.AnalysisServices.Dataplane.Models.AsAzureDataplaneClient : Uri * Microsoft.Rest.ServiceClientCredentials * Func<System.Net.Http.HttpClient> * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Commands.AnalysisServices.Dataplane.Models.AsAzureDataplaneClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, httpClientProvider As Func(Of HttpClient), ParamArray handlers As DelegatingHandler())

Parameters

baseUri
Uri

The base uri to send http requests to.

credentials
ServiceClientCredentials

ServiceClientCredentials for authenticating requests.

httpClientProvider
Func<HttpClient>

Function for providing an HttpClient.

handlers
DelegatingHandler[]

Additional delegating handlers to be passed to the base class.

Applies to