Constructor ScaleoutException
ScaleoutException(SerializationInfo, StreamingContext)
Deserialization constructor. Recreate a ScaleoutException from a serialized stream.
protected ScaleoutException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoa SerializationInfo object holding the serialized state of the ScaleoutException.
context
StreamingContexta StreamingContext object providing context about the serialization operation.
ScaleoutException(string, int, string)
Create a new ScaleoutException.
public ScaleoutException(string operation, int errorCode, string key)
Parameters
operation
stringthe Scaleout operation (e.g. create, read, update, delete) which failed
errorCode
intthe status code returned from ScaleOut service
key
stringa human-readable representation of the key corresponding to the object on which the failed operation was performed.
Remarks
This constructor overload formats an exception message automatically from the operation, errorCode and key values.
ScaleoutException(string, int, string, string)
Create a new ScaleoutException.
public ScaleoutException(string operation, int errorCode, string key, string message)
Parameters
operation
stringthe ScaleOut operation (e.g. create, read, update, delete) which failed
errorCode
intthe status code returned from the ScaleOut service
key
stringa human-readable representation of the key corresponding to the object on which the failed operation was performed.
message
stringa message describing this exception
ScaleoutException(string, int, string, string, Exception)
Create a new ScaleoutException.
public ScaleoutException(string operation, int errorCode, string key, string message, Exception innerException)
Parameters
operation
stringthe ScaleOut operation (e.g. create, read, update, delete) which failed
errorCode
intthe status code returned from the ScaleOut service
key
stringa human-readable representation of the key corresponding to the object on which the failed operation was performed.
message
stringa message describing this exception
innerException
Exceptionan underlying Exception which caused this ScaleoutException to be thrown.