CommunicationClientFactoryBase<TCommunicationClient> Construtores
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
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
Azure SDK for .NET