ServiceReplicaListener Class
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.
Represents the communication listener and its properties for a Stateful Service replica. Endpoints given out by the communication listener are associated with the name of the communication listener.
public sealed class ServiceReplicaListener
type ServiceReplicaListener = class
Public NotInheritable Class ServiceReplicaListener
- Inheritance
-
ServiceReplicaListener
Constructors
ServiceReplicaListener(Func<StatefulServiceContext,ICommunicationListener>, String, Boolean) |
Initializes a new instance of the ServiceReplicaListener class. |
Fields
DefaultName |
Provides the default name of the service replica listener. |
Properties
CreateCommunicationListener |
Gets the factory method for creating the communication listener. |
ListenOnSecondary |
Gets a value indicating whether this communication listener should be opened when the replica becomes an
ActiveSecondary.
When this member is false, the communication listener is opened only when the replica becomes
Primary.
The default value for this property is |
Name |
Gets the name of the communication listener. |
Applies to
Azure SDK for .NET