Constructor ScaleoutException
ScaleoutException(SerializationInfo, StreamingContext)
Deserialization constructor. Recreate a ScaleoutException from a serialized stream.
protected ScaleoutException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoa SerializationInfo object holding the serialized state of the ScaleoutException.
contextStreamingContexta 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
operationstringthe Scaleout operation (e.g. create, read, update, delete) which failed
errorCodeintthe status code returned from ScaleOut service
keystringa 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
operationstringthe ScaleOut operation (e.g. create, read, update, delete) which failed
errorCodeintthe status code returned from the ScaleOut service
keystringa human-readable representation of the key corresponding to the object on which the failed operation was performed.
messagestringa 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
operationstringthe ScaleOut operation (e.g. create, read, update, delete) which failed
errorCodeintthe status code returned from the ScaleOut service
keystringa human-readable representation of the key corresponding to the object on which the failed operation was performed.
messagestringa message describing this exception
innerExceptionExceptionan underlying Exception which caused this ScaleoutException to be thrown.