Struct ClusterSelectingServerFailedEvent
Occurs when selecting a server fails.
public struct ClusterSelectingServerFailedEvent
- Inherited Members
Constructors
ClusterSelectingServerFailedEvent(ClusterDescription, IServerSelector, Exception, long?, string)
Initializes a new instance of the ClusterSelectingServerFailedEvent struct.
public ClusterSelectingServerFailedEvent(ClusterDescription clusterDescription, IServerSelector serverSelector, Exception exception, long? operationId, string operationName)
Parameters
clusterDescriptionClusterDescriptionThe cluster description.
serverSelectorIServerSelectorThe server selector.
exceptionExceptionThe exception.
operationIdlong?The operation identifier.
operationNamestringThe 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
Exception
Gets the exception.
public Exception Exception { 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; }