Constructor ClusterSelectedServerEvent
ClusterSelectedServerEvent(ClusterDescription, IServerSelector, ServerDescription, TimeSpan, long?, string)
Initializes a new instance of the ClusterSelectedServerEvent struct.
public ClusterSelectedServerEvent(ClusterDescription clusterDescription, IServerSelector serverSelector, ServerDescription selectedServer, TimeSpan duration, long? operationId, string operationName)
Parameters
clusterDescriptionClusterDescriptionThe cluster description.
serverSelectorIServerSelectorThe server selector.
selectedServerServerDescriptionThe selected server.
durationTimeSpanThe duration of time it took to select the server.
operationIdlong?The operation identifier.
operationNamestringThe operation name.