Class WriteTimeoutException
Represents a server timeout during a write operation.
Inheritance
object
Exception
WriteTimeoutException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public class WriteTimeoutException : QueryTimeoutException, ISerializable
Constructors
WriteTimeoutException(ConsistencyLevel, int, int, string)
Creates a new instance of WriteTimeoutException
Declaration
public WriteTimeoutException(ConsistencyLevel consistency, int received, int required, string writeType)
Parameters
Type | Name | Description |
---|---|---|
ConsistencyLevel | consistency | |
int | received | |
int | required | |
string | writeType |
Properties
WriteType
Gets the type of write operation that timed out.
Possible values: SIMPLE, BATCH, BATCH_LOG, UNLOGGED_BATCH and COUNTER.
Declaration
public string WriteType { get; }
Property Value
Type | Description |
---|---|
string |
Implements
System.Runtime.Serialization.ISerializable