| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service.devicetwin |
| Modifier and Type | Method and Description |
|---|---|
static DeviceMethod |
DeviceMethod.createFromConnectionString(String connectionString,
DeviceMethodClientOptions options)
Deprecated.
because this method declares a thrown IOException even though it never throws an IOException. Users
are recommended to use
DeviceMethod(String, DeviceMethodClientOptions) instead
since it does not declare this exception even though it constructs the same DeviceMethod. |
| Constructor and Description |
|---|
DeviceMethod(String hostName,
com.azure.core.credential.AzureSasCredential azureSasCredential,
DeviceMethodClientOptions options)
Create a new DeviceMethod instance.
|
DeviceMethod(String connectionString,
DeviceMethodClientOptions options)
Create a DeviceMethod instance from the information in the connection string.
|
DeviceMethod(String hostName,
com.azure.core.credential.TokenCredential credential,
DeviceMethodClientOptions options)
Create a new DeviceMethod instance.
|
Copyright © 2022. All rights reserved.