DefaultActorRequestForwarder Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET