Package | Description |
---|---|
com.microsoft.azure.sdk.iot.service |
Modifier and Type | Method and Description |
---|---|
static ServiceClient |
ServiceClient.createFromConnectionString(String connectionString,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
ServiceClientOptions options)
Deprecated.
because this method declares a thrown IOException even though it never throws an IOException. Users
are recommended to use
ServiceClient(String, IotHubServiceClientProtocol, ServiceClientOptions) instead
since it does not declare this exception even though it constructs the same ServiceClient. |
Constructor and Description |
---|
ServiceClient(IotHubConnectionString iotHubConnectionString,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
ServiceClientOptions options)
Initialize AMQP sender using given connection string
|
ServiceClient(String hostName,
com.azure.core.credential.AzureSasCredential azureSasCredential,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
ServiceClientOptions options)
Create a
ServiceClient instance with an instance of AzureSasCredential . |
ServiceClient(String connectionString,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
ServiceClientOptions options)
Create ServiceClient from the specified connection string
|
ServiceClient(String hostName,
com.azure.core.credential.TokenCredential credential,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
ServiceClientOptions options)
Create a
ServiceClient instance with a custom TokenCredential to allow for finer grain control
of authentication tokens used in the underlying connection. |
Copyright © 2021. All rights reserved.