ServiceInstanceListener Constructor
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.
Initializes a new instance of the ServiceInstanceListener class.
public ServiceInstanceListener (Func<System.Fabric.StatelessServiceContext,Microsoft.ServiceFabric.Services.Communication.Runtime.ICommunicationListener> createCommunicationListener, string name = "");
new Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener : Func<System.Fabric.StatelessServiceContext, Microsoft.ServiceFabric.Services.Communication.Runtime.ICommunicationListener> * string -> Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener
Public Sub New (createCommunicationListener As Func(Of StatelessServiceContext, ICommunicationListener), Optional name As String = "")
Parameters
- createCommunicationListener
- Func<StatelessServiceContext,ICommunicationListener>
Factory method for creating the communication listener.
- name
- String
Name of the communication listener. This parameter is optional if the Stateless Service has only one communication listener. If it is not given, the Name is set to DefaultName.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET