WcfActorServiceRemotingListener Constructors

Definition

Overloads

WcfActorServiceRemotingListener(ActorService, Binding)

Initializes a new instance of the WcfActorServiceRemotingListener class.

WcfActorServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler, Binding, EndpointAddress)

Initializes a new instance of the WcfActorServiceRemotingListener class.

WcfActorServiceRemotingListener(ActorService, Binding)

Initializes a new instance of the WcfActorServiceRemotingListener class.

public WcfActorServiceRemotingListener (Microsoft.ServiceFabric.Actors.Runtime.ActorService actorService, System.ServiceModel.Channels.Binding listenerBinding = default);
new Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Runtime.WcfActorServiceRemotingListener : Microsoft.ServiceFabric.Actors.Runtime.ActorService * System.ServiceModel.Channels.Binding -> Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Runtime.WcfActorServiceRemotingListener
Public Sub New (actorService As ActorService, Optional listenerBinding As Binding = Nothing)

Parameters

actorService
ActorService

The actor service.

listenerBinding
Binding

WCF binding to use for the listener. If the listener binding is not specified or null, a default listener binding is created using CreateTcpListenerBinding(Int64, TimeSpan, TimeSpan) method which creates a NetTcpBinding with no security.

Applies to

WcfActorServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler, Binding, EndpointAddress)

Initializes a new instance of the WcfActorServiceRemotingListener class.

public WcfActorServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler serviceRemotingMessageHandler, System.ServiceModel.Channels.Binding listenerBinding = default, System.ServiceModel.EndpointAddress address = default);
new Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Runtime.WcfActorServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Runtime.WcfActorServiceRemotingListener
Public Sub New (serviceContext As ServiceContext, serviceRemotingMessageHandler As IServiceRemotingMessageHandler, Optional listenerBinding As Binding = Nothing, Optional address As EndpointAddress = Nothing)

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

serviceRemotingMessageHandler
Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler

The handler for receiving and processing remoting messages. As the messages are received the listener delivers the messages to the handler.

listenerBinding
Binding

WCF binding to use for the listener. If the listener binding is not specified or null, a default listener binding is created using CreateTcpListenerBinding(Int64, TimeSpan, TimeSpan) method.

address
EndpointAddress

The endpoint address to use for the WCF listener. If not specified or null, the endpoint address is created using the default endpoint resource named "ServiceEndpoint" defined in the service manifest.

Applies to