Partilhar via


CommunicationClientFactoryBase<TCommunicationClient> Construtores

Definição

Sobrecargas

CommunicationClientFactoryBase<TCommunicationClient>(IServicePartitionResolver, IEnumerable<IExceptionHandler>, String)

Inicializa uma nova instância da classe CommunicationClientFactoryBase<TCommunicationClient>.

CommunicationClientFactoryBase<TCommunicationClient>(Boolean, IServicePartitionResolver, IEnumerable<IExceptionHandler>, String)

Inicializa uma nova instância da classe CommunicationClientFactoryBase<TCommunicationClient>.

CommunicationClientFactoryBase<TCommunicationClient>(IServicePartitionResolver, IEnumerable<IExceptionHandler>, String)

Inicializa uma nova instância da classe CommunicationClientFactoryBase<TCommunicationClient>.

protected CommunicationClientFactoryBase (Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver servicePartitionResolver = default, System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> exceptionHandlers = default, string traceId = default);
new Microsoft.ServiceFabric.Services.Communication.Client.CommunicationClientFactoryBase<'CommunicationClient (requires 'CommunicationClient :> Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClient)> : Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver * seq<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> * string -> Microsoft.ServiceFabric.Services.Communication.Client.CommunicationClientFactoryBase<'CommunicationClient (requires 'CommunicationClient :> Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClient)>
Protected Sub New (Optional servicePartitionResolver As IServicePartitionResolver = Nothing, Optional exceptionHandlers As IEnumerable(Of IExceptionHandler) = Nothing, Optional traceId As String = Nothing)

Parâmetros

servicePartitionResolver
IServicePartitionResolver

ServicePartitionResolver opcional

exceptionHandlers
IEnumerable<IExceptionHandler>

Manipuladores de exceção personalizados opcionais para as exceções no canal de comunicação Cliente para Serviço

traceId
String

Identificador a ser usado em rastreamentos diagnóstico deste componente

Aplica-se a

CommunicationClientFactoryBase<TCommunicationClient>(Boolean, IServicePartitionResolver, IEnumerable<IExceptionHandler>, String)

Inicializa uma nova instância da classe CommunicationClientFactoryBase<TCommunicationClient>.

protected CommunicationClientFactoryBase (bool fireConnectEvents, Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver servicePartitionResolver = default, System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> exceptionHandlers = default, string traceId = default);
new Microsoft.ServiceFabric.Services.Communication.Client.CommunicationClientFactoryBase<'CommunicationClient (requires 'CommunicationClient :> Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClient)> : bool * Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver * seq<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> * string -> Microsoft.ServiceFabric.Services.Communication.Client.CommunicationClientFactoryBase<'CommunicationClient (requires 'CommunicationClient :> Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClient)>
Protected Sub New (fireConnectEvents As Boolean, Optional servicePartitionResolver As IServicePartitionResolver = Nothing, Optional exceptionHandlers As IEnumerable(Of IExceptionHandler) = Nothing, Optional traceId As String = Nothing)

Parâmetros

fireConnectEvents
Boolean

Indica que essa fábrica deve disparar eventos ClientConnected/ClientDisconnected

servicePartitionResolver
IServicePartitionResolver

ServicePartitionResolver opcional

exceptionHandlers
IEnumerable<IExceptionHandler>

Manipuladores de exceção personalizados opcionais para as exceções no canal de comunicação Cliente para Serviço

traceId
String

Identificador a ser usado em rastreamentos diagnóstico deste componente

Aplica-se a