Replica Listener. listen OnSecondary 方法
Indicates if this communication listener should be opened when the stateful service replica becomes an ActiveSecondary. When this member is not set(or set to false), the communication listener is opened only when the replica becomes Primary.
public boolean listenOnSecondary()
Boolean value that indicates if this communication listener should be opened when the replica is ActiveSecondary