ClusterSelectingServerFailedEvent Constructor |
This API is preliminary and subject to change.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
Syntax public ClusterSelectingServerFailedEvent(
ClusterDescription clusterDescription,
IServerSelector serverSelector,
Exception exception,
Nullable<long> operationId
)
Public Sub New (
clusterDescription As ClusterDescription,
serverSelector As IServerSelector,
exception As Exception,
operationId As Nullable(Of Long)
)
new :
clusterDescription : ClusterDescription *
serverSelector : IServerSelector *
exception : Exception *
operationId : Nullable<int64> -> ClusterSelectingServerFailedEvent
Parameters
- clusterDescription
- Type: MongoDB.Driver.Core.ClustersClusterDescription
The cluster description. - serverSelector
- Type: MongoDB.Driver.Core.Clusters.ServerSelectorsIServerSelector
The server selector. - exception
- Type: SystemException
The exception. - operationId
- Type: SystemNullableInt64
The operation identifier.
See Also