Compartir a través de


CommunicationClientFactoryBase<TCommunicationClient> Constructores

Definición

Sobrecargas

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

Inicializa una nueva instancia de la clase CommunicationClientFactoryBase<TCommunicationClient>.

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

Inicializa una nueva instancia de la clase CommunicationClientFactoryBase<TCommunicationClient>.

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

Inicializa una nueva instancia de la clase 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>

Controladores de excepciones personalizados opcionales para las excepciones en el canal de comunicación cliente a servicio

traceId
String

Identificador que se va a usar en seguimientos de diagnóstico de este componente

Se aplica a

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

Inicializa una nueva instancia de la clase 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 esta fábrica debe desencadenar eventos ClientConnected/ClientDisconnected.

servicePartitionResolver
IServicePartitionResolver

ServicePartitionResolver opcional

exceptionHandlers
IEnumerable<IExceptionHandler>

Controladores de excepciones personalizados opcionales para las excepciones en el canal de comunicación cliente a servicio

traceId
String

Identificador que se va a usar en seguimientos de diagnóstico de este componente

Se aplica a