Udostępnij za pośrednictwem


ProvisioningClientOptions Constructors

Definition

Overloads

ProvisioningClientOptions()

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

ProvisioningClientOptions(ProvisioningClientTransportSettings)

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

ProvisioningClientOptions()

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

public ProvisioningClientOptions ();
Public Sub New ()

Remarks

The default transport protocol is MQTT over TCP.

Applies to

ProvisioningClientOptions(ProvisioningClientTransportSettings)

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

public ProvisioningClientOptions (Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientTransportSettings transportSettings);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientOptions : Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientTransportSettings -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientOptions
Public Sub New (transportSettings As ProvisioningClientTransportSettings)

Parameters

transportSettings
ProvisioningClientTransportSettings

The transport settings to use (i.e., Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportHandlerAmqp, Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportHandlerMqtt).

Exceptions

When transportSettings is null.

Applies to