Class OperationNotSupportedException
Thrown when an operation is not supported in the current edition of NCache.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class OperationNotSupportedException : CacheException, ISerializable, _Exception
OperationNotSupportedException()
default constructor.
Declaration
public OperationNotSupportedException()
OperationNotSupportedException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected OperationNotSupportedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
OperationNotSupportedException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public OperationNotSupportedException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
OperationNotSupportedException(String, Exception)
overloaded constructor.
Declaration
public OperationNotSupportedException(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 |