Dela via


ActorServiceRemotingDispatcher Constructor

Definition

Initializes a new instance of the ActorServiceRemotingDispatcher class. This can dispatch messages to an actor service and to the actors hosted in the service..

public ActorServiceRemotingDispatcher (Microsoft.ServiceFabric.Actors.Runtime.ActorService actorService, Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageBodyFactory serviceRemotingRequestMessageBodyFactory);
new Microsoft.ServiceFabric.Actors.Remoting.V2.Runtime.ActorServiceRemotingDispatcher : Microsoft.ServiceFabric.Actors.Runtime.ActorService * Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageBodyFactory -> Microsoft.ServiceFabric.Actors.Remoting.V2.Runtime.ActorServiceRemotingDispatcher
Public Sub New (actorService As ActorService, serviceRemotingRequestMessageBodyFactory As IServiceRemotingMessageBodyFactory)

Parameters

actorService
ActorService

An actor service instance.

serviceRemotingRequestMessageBodyFactory
IServiceRemotingMessageBodyFactory

Factory for creating remtoing request body and response body objects.

Applies to