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