Class OperationFailedException
Thrown whenever an API fails. In case of bulk operation, you even receive information about existing keys or unavailable space wrapped within this exception.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class OperationFailedException : CacheException
Examples
The following example demonstrates how to use this exception in your code.
try
{
...
}
catch(OperationFailedException ex)
{
...
}
Name | Description |
---|---|
OperationFailedException() | default constructor. |
OperationFailedException(SerializationInfo, StreamingContext) | overloaded constructor, manual serialization. |
OperationFailedException(String) | overloaded constructor, takes the reason as parameter. |
OperationFailedException(String, Exception) | overloaded constructor. |
OperationFailedException(String, Exception, Boolean) | overloaded constructor. |
OperationFailedException(String, Boolean) | overloaded constructor, takes the reason as parameter. |
Name | Description |
---|---|
IsTracable |