Constructor ObjectLockedException
ObjectLockedException(SerializationInfo, StreamingContext)
Deserialization constructor. Recreate an ObjectLockedException from a serialized stream.
protected ObjectLockedException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoa SerializationInfo object holding the serialized state of the ObjectLockedException.
contextStreamingContexta StreamingContext object providing context about the serialization operation.
ObjectLockedException(string, int, string)
Create a new ObjectLockedException.
public ObjectLockedException(string operation, int errorCode, string key)
Parameters
operationstringthe operation (e.g. create, read, update, delete) that 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.
ObjectLockedException(string, string)
Create a new ObjectLockedException.
public ObjectLockedException(string operation, string key)
Parameters
operationstringthe operation (e.g. create, read, update, delete) that failed
keystringa human-readable representation of the key corresponding to the object on which the failed operation was performed.
ObjectLockedException(string, int, string, string)
Create a new ObjectLockedException.
public ObjectLockedException(string operation, int errorCode, string key, string message)
Parameters
operationstringthe operation (e.g. create, read, update, delete) that 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
ObjectLockedException(string, string, string)
Create a new ObjectLockedException.
public ObjectLockedException(string operation, string key, string message)
Parameters
operationstringthe operation (e.g. create, read, update, delete) that failed
keystringa human-readable representation of the key corresponding to the object on which the failed operation was performed.
messagestringa message describing this exception
ObjectLockedException(string, string, string, Exception)
Create a new ObjectLockedException.
public ObjectLockedException(string operation, string key, string message, Exception innerException)
Parameters
operationstringthe operation (e.g. create, read, update, delete) that failed
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.