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
clusterDescription
ClusterDescriptionThe cluster description.
serverSelector
IServerSelectorThe server selector.
selectedServer
ServerDescriptionThe selected server.
duration
TimeSpanThe duration of time it took to select the server.
operationId
long?The operation identifier.
operationName
stringThe operation name.