IotHubClient.PreparePoolFactory Method

Definition

public static Func<Microsoft.Azure.Devices.ProtocolGateway.Identity.IDeviceIdentity,System.Threading.Tasks.Task<Microsoft.Azure.Devices.ProtocolGateway.Messaging.IMessagingServiceClient>> PreparePoolFactory (string baseConnectionString, 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 PreparePoolFactory : string * int * Nullable<TimeSpan> * Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.IotHubClientSettings * DotNetty.Buffers.IByteBufferAllocator * Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.Addressing.IMessageAddressConverter -> Func<Microsoft.Azure.Devices.ProtocolGateway.Identity.IDeviceIdentity, System.Threading.Tasks.Task<Microsoft.Azure.Devices.ProtocolGateway.Messaging.IMessagingServiceClient>>
Public Shared Function PreparePoolFactory (baseConnectionString As String, connectionPoolSize As Integer, connectionIdleTimeout As Nullable(Of TimeSpan), settings As IotHubClientSettings, allocator As IByteBufferAllocator, messageAddressConverter As IMessageAddressConverter) As Func(Of IDeviceIdentity, Task(Of IMessagingServiceClient))

Parameters

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

Returns

System.Func<IDeviceIdentity,System.Threading.Tasks.Task<IMessagingServiceClient>>

Applies to