Class MaxClientReachedException
This exception is thrown whenever an error occurs on the remote node.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class MaxClientReachedException : CacheException, ISerializable, _Exception
              Constructors
MaxClientReachedException(Int32, String)
An overloaded constructor that takes errorcode and reason as parameters.
Declaration
public MaxClientReachedException(int errorCode, string reason)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | Errorcode for the exception.  | 
                  
| System.String | reason | Reason of exception.  | 
                  
MaxClientReachedException(SerializationInfo, StreamingContext)
Overloaded constructor that takes serialization info and streaming context as parameters.
Declaration
protected MaxClientReachedException(SerializationInfo info, StreamingContext context)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | Stores all the data needed to serialize or deserialize an object.  | 
                  
| System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.  | 
                  
MaxClientReachedException(String)
The default constructor of class MaxClientReachedException.
Declaration
public MaxClientReachedException(string reason)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | reason | Reason of exception.  | 
                  
Properties
Message
Gets the message that describes the current exception.
Declaration
public override string Message { get; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The message that describes the current exception.  | 
                  
Overrides
StackTrace
Gets the stack trace of the exception.
Declaration
public override string StackTrace { get; }
              Property Value
| Type | Description | 
|---|---|
| System.String | Stacktrace of the exception.  |