Class VersionException
Inheritance
System.Object
VersionException
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class VersionException : CacheException
Constructors
VersionException(SerializationInfo, StreamingContext)
Declaration
public VersionException(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
VersionException(Int32)
Declaration
public VersionException(int errorCode)
Parameters
Type |
Name |
Description |
System.Int32 |
errorCode |
|
VersionException(String, Int32)
overloaded constructor, takes the reason as parameter.
Declaration
public VersionException(string reason, int errorCode)
Parameters
Type |
Name |
Description |
System.String |
reason |
|
System.Int32 |
errorCode |
|
VersionException(String, Int32, Exception)
Declaration
public VersionException(string reason, int errorCode, Exception inner)
Parameters
Type |
Name |
Description |
System.String |
reason |
reason for exception
|
System.Int32 |
errorCode |
|
Exception |
inner |
nested exception
|
Properties
ErrorCode
Declaration
public int ErrorCode { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
Overrides