Table of Contents

Constructor ScaleoutException

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

ScaleoutException(SerializationInfo, StreamingContext)

Deserialization constructor. Recreate a ScaleoutException from a serialized stream.

protected ScaleoutException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

a SerializationInfo object holding the serialized state of the ScaleoutException.

context StreamingContext

a 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 string

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

errorCode int

the status code returned from ScaleOut service

key string

a 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 string

the ScaleOut operation (e.g. create, read, update, delete) which 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

ScaleoutException(string, int, string, string, Exception)

Create a new ScaleoutException.

public ScaleoutException(string operation, int errorCode, string key, string message, Exception innerException)

Parameters

operation string

the ScaleOut operation (e.g. create, read, update, delete) which 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

innerException Exception

an underlying Exception which caused this ScaleoutException to be thrown.