DeviceUpdateClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| DeviceUpdateClient() |
Initializes a new instance of DeviceUpdateClient for mocking. |
| DeviceUpdateClient(DeviceUpdateClientSettings) |
Initializes a new instance of DeviceUpdateClient from a DeviceUpdateClientSettings. |
| DeviceUpdateClient(Uri, String, TokenCredential) |
Initializes a new instance of DeviceUpdateClient. |
| DeviceUpdateClient(Uri, String, TokenCredential, DeviceUpdateClientOptions) |
Initializes a new instance of DeviceUpdateClient. |
DeviceUpdateClient()
- Source:
- DeviceUpdateClient.cs
Initializes a new instance of DeviceUpdateClient for mocking.
protected DeviceUpdateClient();
Protected Sub New ()
Applies to
DeviceUpdateClient(DeviceUpdateClientSettings)
- Source:
- DeviceUpdateClient.cs
Initializes a new instance of DeviceUpdateClient from a DeviceUpdateClientSettings.
public DeviceUpdateClient(Azure.IoT.DeviceUpdate.DeviceUpdateClientSettings settings);
new Azure.IoT.DeviceUpdate.DeviceUpdateClient : Azure.IoT.DeviceUpdate.DeviceUpdateClientSettings -> Azure.IoT.DeviceUpdate.DeviceUpdateClient
Public Sub New (settings As DeviceUpdateClientSettings)
Parameters
- settings
- DeviceUpdateClientSettings
The settings for DeviceUpdateClient.
Applies to
DeviceUpdateClient(Uri, String, TokenCredential)
- Source:
- DeviceUpdateClient.cs
Initializes a new instance of DeviceUpdateClient.
public DeviceUpdateClient(Uri endpoint, string instanceId, Azure.Core.TokenCredential credential);
new Azure.IoT.DeviceUpdate.DeviceUpdateClient : Uri * string * Azure.Core.TokenCredential -> Azure.IoT.DeviceUpdate.DeviceUpdateClient
Public Sub New (endpoint As Uri, instanceId As String, credential As TokenCredential)
Parameters
- endpoint
- Uri
Service endpoint.
- instanceId
- String
The Device Update for IoT Hub account instance identifier.
- credential
- TokenCredential
A credential used to authenticate to the service.
Exceptions
endpoint, instanceId or credential is null.
instanceId is an empty string, and was expected to be non-empty.
Applies to
DeviceUpdateClient(Uri, String, TokenCredential, DeviceUpdateClientOptions)
- Source:
- DeviceUpdateClient.cs
Initializes a new instance of DeviceUpdateClient.
public DeviceUpdateClient(Uri endpoint, string instanceId, Azure.Core.TokenCredential credential, Azure.IoT.DeviceUpdate.DeviceUpdateClientOptions options);
new Azure.IoT.DeviceUpdate.DeviceUpdateClient : Uri * string * Azure.Core.TokenCredential * Azure.IoT.DeviceUpdate.DeviceUpdateClientOptions -> Azure.IoT.DeviceUpdate.DeviceUpdateClient
Public Sub New (endpoint As Uri, instanceId As String, credential As TokenCredential, options As DeviceUpdateClientOptions)
Parameters
- endpoint
- Uri
Service endpoint.
- instanceId
- String
The Device Update for IoT Hub account instance identifier.
- credential
- TokenCredential
A credential used to authenticate to the service.
- options
- DeviceUpdateClientOptions
The options for configuring the client.
Exceptions
endpoint, instanceId or credential is null.
instanceId is an empty string, and was expected to be non-empty.