Share via


DeviceManagementClient Constructors

Definition

Overloads

DeviceManagementClient()

Initializes a new instance of DeviceManagementClient for mocking.

DeviceManagementClient(Uri, String, TokenCredential)

Initializes a new instance of DeviceManagementClient.

DeviceManagementClient(Uri, String, TokenCredential, DeviceUpdateClientOptions)

Initializes a new instance of DeviceManagementClient.

DeviceManagementClient()

Source:
DeviceManagementClient.cs

Initializes a new instance of DeviceManagementClient for mocking.

protected DeviceManagementClient ();
Protected Sub New ()

Applies to

DeviceManagementClient(Uri, String, TokenCredential)

Source:
DeviceManagementClient.cs

Initializes a new instance of DeviceManagementClient.

public DeviceManagementClient (Uri endpoint, string instanceId, Azure.Core.TokenCredential credential);
new Azure.IoT.DeviceUpdate.DeviceManagementClient : Uri * string * Azure.Core.TokenCredential -> Azure.IoT.DeviceUpdate.DeviceManagementClient
Public Sub New (endpoint As Uri, instanceId As String, credential As TokenCredential)

Parameters

endpoint
Uri

The Device Update for IoT Hub account endpoint (hostname only, no protocol).

instanceId
String

The Device Update for IoT Hub account instance identifier.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint, instanceId or credential is null.

Applies to

DeviceManagementClient(Uri, String, TokenCredential, DeviceUpdateClientOptions)

Source:
DeviceManagementClient.cs

Initializes a new instance of DeviceManagementClient.

public DeviceManagementClient (Uri endpoint, string instanceId, Azure.Core.TokenCredential credential, Azure.IoT.DeviceUpdate.DeviceUpdateClientOptions options);
new Azure.IoT.DeviceUpdate.DeviceManagementClient : Uri * string * Azure.Core.TokenCredential * Azure.IoT.DeviceUpdate.DeviceUpdateClientOptions -> Azure.IoT.DeviceUpdate.DeviceManagementClient
Public Sub New (endpoint As Uri, instanceId As String, credential As TokenCredential, options As DeviceUpdateClientOptions)

Parameters

endpoint
Uri

The Device Update for IoT Hub account endpoint (hostname only, no protocol).

instanceId
String

The Device Update for IoT Hub account instance identifier.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

options
DeviceUpdateClientOptions

The options for configuring the client.

Exceptions

endpoint, instanceId or credential is null.

Applies to