DigitalTwinClient.CreateFromConnectionString Method
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.
Creates DigitalTwinClient from an IoT hub connection string.
public static Microsoft.Azure.Devices.DigitalTwinClient CreateFromConnectionString (string connectionString, params System.Net.Http.DelegatingHandler[] handlers);
static member CreateFromConnectionString : string * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Devices.DigitalTwinClient
Public Shared Function CreateFromConnectionString (connectionString As String, ParamArray handlers As DelegatingHandler()) As DigitalTwinClient
Parameters
- connectionString
- String
The IoT hub's connection string.
- handlers
- DelegatingHandler[]
The delegating handlers to add to the http client pipeline. You can add handlers for tracing, implementing a retry strategy, routing requests through a proxy, etc.
Returns
A DigitalTwinsClient instance.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET