Constructor MaxClientReachedException
MaxClientReachedException(String)
The default constructor of class MaxClientReachedException.
Declaration
public MaxClientReachedException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Reason of exception. |
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. |