共用方式為


DeviceUpdateClient Constructors

Definition

Overloads

DeviceUpdateClient()

Initializes a new instance of DeviceUpdateClient for mocking.

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

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

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

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