StatelessService.CreateServiceInstanceListeners Method
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.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for