Dela via


DefaultActorRequestForwarder Constructor

Definition

Initializes a new instance of the DefaultActorRequestForwarder class

public DefaultActorRequestForwarder (Microsoft.ServiceFabric.Actors.Runtime.ActorService actorService, Microsoft.ServiceFabric.Actors.Migration.RequestForwarderContext requestForwarderContext, string listenerName = default, Func<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler,Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClientFactory> createServiceRemotingClientFactory = default, Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings retrySettings = default);
new Microsoft.ServiceFabric.Actors.Migration.DefaultActorRequestForwarder : Microsoft.ServiceFabric.Actors.Runtime.ActorService * Microsoft.ServiceFabric.Actors.Migration.RequestForwarderContext * string * Func<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler, Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClientFactory> * Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings -> Microsoft.ServiceFabric.Actors.Migration.DefaultActorRequestForwarder
Public Sub New (actorService As ActorService, requestForwarderContext As RequestForwarderContext, Optional listenerName As String = Nothing, Optional createServiceRemotingClientFactory As Func(Of IServiceRemotingCallbackMessageHandler, IServiceRemotingClientFactory) = Nothing, Optional retrySettings As OperationRetrySettings = Nothing)

Parameters

actorService
ActorService

Actor service.

requestForwarderContext
RequestForwarderContext

Context for request forwarder.

listenerName
String

Remote service listener name. If specified null, "Migration Listener" will be used as default.

createServiceRemotingClientFactory
Func<IServiceRemotingCallbackMessageHandler,IServiceRemotingClientFactory>

Factory method to create remoting communication client factory.

retrySettings
OperationRetrySettings

Retry settings for the remote object calls made by proxy.

Applies to