StatefulServiceBase.CreateServiceReplicaListeners Method

Definition

Override this method to supply the communication listeners for the service replica. The endpoints returned by the communication listener are stored as a JSON string of ListenerName, Endpoint string pairs like {"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}}

For information about Reliable Services life cycle please see https://docs.microsoft.com/azure/service-fabric/service-fabric-reliable-services-lifecycle

protected virtual System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener> CreateServiceReplicaListeners ();
abstract member CreateServiceReplicaListeners : unit -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener>
override this.CreateServiceReplicaListeners : unit -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener>
Protected Overridable Function CreateServiceReplicaListeners () As IEnumerable(Of ServiceReplicaListener)

Returns

List of ServiceReplicaListener

Applies to