CommunicationClientFactoryBase<TCommunicationClient> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CommunicationClientFactoryBase<TCommunicationClient>(IServicePartitionResolver, IEnumerable<IExceptionHandler>, String)
Initializes a new instance of the CommunicationClientFactoryBase<TCommunicationClient> class.
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)
Parameters
- servicePartitionResolver
- IServicePartitionResolver
Optional ServicePartitionResolver
- exceptionHandlers
- IEnumerable<IExceptionHandler>
Optional Custom exception handlers for the exceptions on the Client to Service communication channel
- traceId
- String
Identifier to use in diagnostics traces from this component
Applies to
CommunicationClientFactoryBase<TCommunicationClient>(Boolean, IServicePartitionResolver, IEnumerable<IExceptionHandler>, String)
Initializes a new instance of the CommunicationClientFactoryBase<TCommunicationClient> class.
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)
Parameters
- fireConnectEvents
- Boolean
Indicates that this factory should fire ClientConnected/ClientDisconnected events
- servicePartitionResolver
- IServicePartitionResolver
Optional ServicePartitionResolver
- exceptionHandlers
- IEnumerable<IExceptionHandler>
Optional Custom exception handlers for the exceptions on the Client to Service communication channel
- traceId
- String
Identifier to use in diagnostics traces from this component
Applies to
Azure SDK for .NET