Condividi tramite


IotHubClientOptions Constructors

Definition

Overloads

IotHubClientOptions()

Creates an instances of this class with the default transport settings.

IotHubClientOptions(IotHubClientTransportSettings)

Creates an instance of this class with the specified transport settings.

IotHubClientOptions()

Creates an instances of this class with the default transport settings.

public IotHubClientOptions ();
Public Sub New ()

Applies to

IotHubClientOptions(IotHubClientTransportSettings)

Creates an instance of this class with the specified transport settings.

public IotHubClientOptions (Microsoft.Azure.Devices.Client.IotHubClientTransportSettings transportSettings);
new Microsoft.Azure.Devices.Client.IotHubClientOptions : Microsoft.Azure.Devices.Client.IotHubClientTransportSettings -> Microsoft.Azure.Devices.Client.IotHubClientOptions
Public Sub New (transportSettings As IotHubClientTransportSettings)

Parameters

transportSettings
IotHubClientTransportSettings

The transport settings to use (i.e., IotHubClientMqttSettings or IotHubClientAmqpSettings.

Exceptions

When transportSettings is null.

Applies to