StatelessService.CreateServiceInstanceListeners Method

Definition

Override this method to supply the communication listeners for the service instance. The endpoints returned by the communication listener's 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.ServiceInstanceListener> CreateServiceInstanceListeners ();
abstract member CreateServiceInstanceListeners : unit -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener>
override this.CreateServiceInstanceListeners : unit -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener>
Protected Overridable Function CreateServiceInstanceListeners () As IEnumerable(Of ServiceInstanceListener)

Returns

List of ServiceInstanceListeners

Applies to