JobClient.CreateFromConnectionString Method

Definition

Overloads

CreateFromConnectionString(String)

Creates JobClient from the IoT hub connection string.

CreateFromConnectionString(String, HttpTransportSettings)

Creates JobClient from the IoT hub connection string and HTTP transport settings.

CreateFromConnectionString(String)

Creates JobClient from the IoT hub connection string.

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

Parameters

connectionString
String

The IoT hub connection string.

Returns

A JobClient instance.

Applies to

CreateFromConnectionString(String, HttpTransportSettings)

Creates JobClient from the IoT hub connection string and HTTP transport settings.

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

Parameters

connectionString
String

The IoT hub connection string.

transportSettings
HttpTransportSettings

The HTTP transport settings.

Returns

A JobClient instance.

Applies to