Condividi tramite


FabricTransportActorRemotingClientFactory Constructors

Definition

Overloads

FabricTransportActorRemotingClientFactory(IServiceRemotingCallbackMessageHandler)

Initializes a new instance of the FabricTransportActorRemotingClientFactory class.

FabricTransportActorRemotingClientFactory(FabricTransportRemotingSettings, IServiceRemotingCallbackMessageHandler, IServicePartitionResolver, IEnumerable<IExceptionHandler>, String, IServiceRemotingMessageSerializationProvider, IEnumerable<IExceptionConvertor>)

Initializes a new instance of the FabricTransportActorRemotingClientFactory class.

FabricTransportActorRemotingClientFactory(IServiceRemotingCallbackMessageHandler)

Initializes a new instance of the FabricTransportActorRemotingClientFactory class.

public FabricTransportActorRemotingClientFactory (Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler callbackMessageHandler);
new Microsoft.ServiceFabric.Actors.Remoting.V2.FabricTransport.Client.FabricTransportActorRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler -> Microsoft.ServiceFabric.Actors.Remoting.V2.FabricTransport.Client.FabricTransportActorRemotingClientFactory
Public Sub New (callbackMessageHandler As IServiceRemotingCallbackMessageHandler)

Parameters

callbackMessageHandler
IServiceRemotingCallbackMessageHandler

The callback client that receives the callbacks from the service.

Applies to

FabricTransportActorRemotingClientFactory(FabricTransportRemotingSettings, IServiceRemotingCallbackMessageHandler, IServicePartitionResolver, IEnumerable<IExceptionHandler>, String, IServiceRemotingMessageSerializationProvider, IEnumerable<IExceptionConvertor>)

Initializes a new instance of the FabricTransportActorRemotingClientFactory class.

public FabricTransportActorRemotingClientFactory (Microsoft.ServiceFabric.Services.Remoting.FabricTransport.FabricTransportRemotingSettings fabricTransportRemotingSettings, Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler callbackMessageHandler = default, Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver servicePartitionResolver = default, System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> exceptionHandlers = default, string traceId = default, Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageSerializationProvider serializationProvider = default, System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IExceptionConvertor> exceptionConvertors = default);
new Microsoft.ServiceFabric.Actors.Remoting.V2.FabricTransport.Client.FabricTransportActorRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.FabricTransport.FabricTransportRemotingSettings * Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler * Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver * seq<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> * string * Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageSerializationProvider * seq<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IExceptionConvertor> -> Microsoft.ServiceFabric.Actors.Remoting.V2.FabricTransport.Client.FabricTransportActorRemotingClientFactory
Public Sub New (fabricTransportRemotingSettings As FabricTransportRemotingSettings, Optional callbackMessageHandler As IServiceRemotingCallbackMessageHandler = Nothing, Optional servicePartitionResolver As IServicePartitionResolver = Nothing, Optional exceptionHandlers As IEnumerable(Of IExceptionHandler) = Nothing, Optional traceId As String = Nothing, Optional serializationProvider As IServiceRemotingMessageSerializationProvider = Nothing, Optional exceptionConvertors As IEnumerable(Of IExceptionConvertor) = Nothing)

Parameters

fabricTransportRemotingSettings
FabricTransportRemotingSettings

The settings for the fabric transport. If the settings are not provided or null, default settings with no security.

callbackMessageHandler
IServiceRemotingCallbackMessageHandler

The callback client that receives the callbacks from the service.

servicePartitionResolver
IServicePartitionResolver

Service partition resolver to resolve the service endpoints. If not specified, a default service partition resolver returned by GetDefault() is used.

exceptionHandlers
IEnumerable<IExceptionHandler>

Exception handlers to handle the exceptions encountered in communicating with the actor.

traceId
String

Id to use in diagnostics traces from this component.

serializationProvider
IServiceRemotingMessageSerializationProvider

This is used to serialize remoting request/response.

exceptionConvertors
IEnumerable<IExceptionConvertor>

Convertors to convert service exception to user exception.

Applies to