Class BucketTransferredException
BucketTransferredException is thrown on Add/Insert operation in POR cache when during the node up/down process, a bucket is moved to another node and this node has received the item according to an older map.
Inheritance
System.Object
System.Exception
BucketTransferredException
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class BucketTransferredException : OperationFailedException, ISerializable, _Exception
BucketTransferredException()
default constructor.
Declaration
public BucketTransferredException()
BucketTransferredException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
public BucketTransferredException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
BucketTransferredException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public BucketTransferredException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
BucketTransferredException(String, Exception)
overloaded constructor.
Declaration
public BucketTransferredException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
System.Exception | inner | nested exception |
GetObjectData(SerializationInfo, StreamingContext)
manual serialization
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |