ServiceReplicaListener.ListenOnSecondary ServiceReplicaListener.ListenOnSecondary ServiceReplicaListener.ListenOnSecondary Property

Definition

Gets the flag that indicates if 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 is false.

public bool ListenOnSecondary { get; }
member this.ListenOnSecondary : bool
Public ReadOnly Property ListenOnSecondary As Boolean
Property Value

The flag that indicates if this communication listener should be opened when the replica is ActiveSecondary.

Remarks

This flag can be set when the primary replica is too busy to serve reads and writes efficiently and the application can tolerate reading stale (but consistent) data, then data can be read from secondary replica.

Applies to