Compartir a través de


IotDpsClient Constructores

Definición

Sobrecargas

IotDpsClient(DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(ServiceClientCredentials, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(HttpClient, Boolean)

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(Uri, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(ServiceClientCredentials, HttpClient, Boolean)

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

IotDpsClient(DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

protected IotDpsClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Protected Sub New (ParamArray handlers As DelegatingHandler())

Parámetros

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Se aplica a

IotDpsClient(ServiceClientCredentials, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

public IotDpsClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

Parámetros

credentials
ServiceClientCredentials

Necesario. Credenciales necesarias para que el cliente se conecte a Azure.

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Excepciones

Se produce cuando un parámetro obligatorio es NULL

Se aplica a

IotDpsClient(HttpClient, Boolean)

Inicializa una nueva instancia de la clase IotDpsClient.

protected IotDpsClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)

Parámetros

httpClient
HttpClient

HttpClient que se va a usar

disposeHttpClient
Boolean

True: eliminará httpClient proporcionado al llamar a IotDpsClient.Dispose(). False: no eliminará httpClient proporcionado.

Se aplica a

IotDpsClient(HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

protected IotDpsClient (System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parámetros

rootHandler
HttpClientHandler

Opcional. Controlador de cliente http que se usa para controlar el transporte http.

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Se aplica a

IotDpsClient(Uri, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

protected IotDpsClient (Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Protected Sub New (baseUri As Uri, ParamArray handlers As DelegatingHandler())

Parámetros

baseUri
Uri

Opcional. URI base del servicio.

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Excepciones

Se produce cuando un parámetro obligatorio es NULL

Se aplica a

IotDpsClient(ServiceClientCredentials, HttpClient, Boolean)

Inicializa una nueva instancia de la clase IotDpsClient.

public IotDpsClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)

Parámetros

credentials
ServiceClientCredentials

Necesario. Credenciales necesarias para que el cliente se conecte a Azure.

httpClient
HttpClient

HttpClient que se va a usar

disposeHttpClient
Boolean

True: eliminará httpClient proporcionado al llamar a IotDpsClient.Dispose(). False: no eliminará httpClient proporcionado.

Excepciones

Se produce cuando un parámetro obligatorio es NULL

Se aplica a

IotDpsClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

public IotDpsClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parámetros

credentials
ServiceClientCredentials

Necesario. Credenciales necesarias para que el cliente se conecte a Azure.

rootHandler
HttpClientHandler

Opcional. Controlador de cliente http que se usa para controlar el transporte http.

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Excepciones

Se produce cuando un parámetro obligatorio es NULL

Se aplica a

IotDpsClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

public IotDpsClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

Parámetros

baseUri
Uri

Opcional. URI base del servicio.

credentials
ServiceClientCredentials

Necesario. Credenciales necesarias para que el cliente se conecte a Azure.

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Excepciones

Se produce cuando un parámetro obligatorio es NULL

Se aplica a

IotDpsClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

protected IotDpsClient (Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Protected Sub New (baseUri As Uri, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parámetros

baseUri
Uri

Opcional. URI base del servicio.

rootHandler
HttpClientHandler

Opcional. Controlador de cliente http que se usa para controlar el transporte http.

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Excepciones

Se produce cuando un parámetro obligatorio es NULL

Se aplica a

IotDpsClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa una nueva instancia de la clase IotDpsClient.

public IotDpsClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.DeviceProvisioningServices.IotDpsClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parámetros

baseUri
Uri

Opcional. URI base del servicio.

credentials
ServiceClientCredentials

Necesario. Credenciales necesarias para que el cliente se conecte a Azure.

rootHandler
HttpClientHandler

Opcional. Controlador de cliente http que se usa para controlar el transporte http.

handlers
DelegatingHandler[]

Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.

Excepciones

Se produce cuando un parámetro obligatorio es NULL

Se aplica a