IotHubClientOptions 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
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for