JobClient.CreateFromConnectionString Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateFromConnectionString(String) |
Cria JobClient com base na cadeia de conexão do hub IoT. |
CreateFromConnectionString(String, HttpTransportSettings) |
Cria JobClient com base na cadeia de conexão do hub IoT e nas configurações de transporte HTTP. |
CreateFromConnectionString(String)
Cria JobClient com base na cadeia de conexão do hub IoT.
public static Microsoft.Azure.Devices.JobClient CreateFromConnectionString (string connectionString);
static member CreateFromConnectionString : string -> Microsoft.Azure.Devices.JobClient
Public Shared Function CreateFromConnectionString (connectionString As String) As JobClient
Parâmetros
- connectionString
- String
A cadeia de conexão do hub IoT.
Retornos
Uma instância do JobClient.
Aplica-se a
CreateFromConnectionString(String, HttpTransportSettings)
Cria JobClient com base na cadeia de conexão do hub IoT e nas configurações de transporte HTTP.
public static Microsoft.Azure.Devices.JobClient CreateFromConnectionString (string connectionString, Microsoft.Azure.Devices.HttpTransportSettings transportSettings);
static member CreateFromConnectionString : string * Microsoft.Azure.Devices.HttpTransportSettings -> Microsoft.Azure.Devices.JobClient
Public Shared Function CreateFromConnectionString (connectionString As String, transportSettings As HttpTransportSettings) As JobClient
Parâmetros
- connectionString
- String
A cadeia de conexão do hub IoT.
- transportSettings
- HttpTransportSettings
As configurações de transporte HTTP.
Retornos
Uma instância do JobClient.
Aplica-se a
Azure SDK for .NET