Struct ClusterSelectingServerEvent
Occurs before a server is selected.
public struct ClusterSelectingServerEvent
- Inherited Members
Constructors
ClusterSelectingServerEvent(ClusterDescription, IServerSelector, long?, string)
Initializes a new instance of the ClusterSelectingServerEvent struct.
public ClusterSelectingServerEvent(ClusterDescription clusterDescription, IServerSelector serverSelector, long? operationId, string operationName)
Parameters
clusterDescription
ClusterDescriptionThe cluster description.
serverSelector
IServerSelectorThe server selector.
operationId
long?The operation identifier.
operationName
stringThe operation name.
Properties
ClusterDescription
Gets the cluster description.
public ClusterDescription ClusterDescription { get; }
Property Value
ClusterId
Gets the cluster identifier.
public ClusterId ClusterId { get; }
Property Value
OperationId
Gets the operation identifier.
public long? OperationId { get; }
Property Value
- long?
OperationName
Gets the operation name.
public string OperationName { get; }
Property Value
ServerSelector
Gets the server selector.
public IServerSelector ServerSelector { get; }
Property Value
Timestamp
Gets the timestamp.
public DateTime Timestamp { get; }