ProvisioningClientOptions 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
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
Azure SDK for .NET