Table of Contents

Constructor ObjectLockedException

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

ObjectLockedException(SerializationInfo, StreamingContext)

Deserialization constructor. Recreate an ObjectLockedException from a serialized stream.

protected ObjectLockedException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

a SerializationInfo object holding the serialized state of the ObjectLockedException.

context StreamingContext

a 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

operation string

the operation (e.g. create, read, update, delete) that failed

errorCode int

the status code returned from the ScaleOut service

key string

a 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

operation string

the operation (e.g. create, read, update, delete) that failed

key string

a 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

operation string

the operation (e.g. create, read, update, delete) that failed

errorCode int

the status code returned from the ScaleOut service

key string

a human-readable representation of the key corresponding to the object on which the failed operation was performed.

message string

a message describing this exception

ObjectLockedException(string, string, string)

Create a new ObjectLockedException.

public ObjectLockedException(string operation, string key, string message)

Parameters

operation string

the operation (e.g. create, read, update, delete) that failed

key string

a human-readable representation of the key corresponding to the object on which the failed operation was performed.

message string

a message describing this exception

ObjectLockedException(string, string, string, Exception)

Create a new ObjectLockedException.

public ObjectLockedException(string operation, string key, string message, Exception innerException)

Parameters

operation string

the operation (e.g. create, read, update, delete) that failed

key string

a human-readable representation of the key corresponding to the object on which the failed operation was performed.

message string

a message describing this exception

innerException Exception

an underlying Exception which caused this ScaleoutException to be thrown.