IotHubClient.CreateFromConnectionStringAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Devices.ProtocolGateway.Messaging.IMessagingServiceClient> CreateFromConnectionStringAsync (string deviceId, string connectionString, int connectionPoolSize, TimeSpan? connectionIdleTimeout, Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.IotHubClientSettings settings, DotNetty.Buffers.IByteBufferAllocator allocator, Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.Addressing.IMessageAddressConverter messageAddressConverter);
static member CreateFromConnectionStringAsync : string * string * int * Nullable<TimeSpan> * Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.IotHubClientSettings * DotNetty.Buffers.IByteBufferAllocator * Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.Addressing.IMessageAddressConverter -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.ProtocolGateway.Messaging.IMessagingServiceClient>
Public Shared Function CreateFromConnectionStringAsync (deviceId As String, connectionString As String, connectionPoolSize As Integer, connectionIdleTimeout As Nullable(Of TimeSpan), settings As IotHubClientSettings, allocator As IByteBufferAllocator, messageAddressConverter As IMessageAddressConverter) As Task(Of IMessagingServiceClient)

Parameters

deviceId
System.String
connectionString
System.String
connectionPoolSize
System.Int32
connectionIdleTimeout
System.Nullable<System.TimeSpan>
allocator
DotNetty.Buffers.IByteBufferAllocator
messageAddressConverter
IMessageAddressConverter

Returns

System.Threading.Tasks.Task<IMessagingServiceClient>

Applies to