Class MessageSizeException
Exception thrown in client/server when there's an attempt to send a too large message
Inheritance
System.Object
System.Exception
MessageSizeException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NFX.Glue
Assembly: NFX.dll
Syntax
[Serializable]
public class MessageSizeException : ProtocolException, ISerializable
Constructors
MessageSizeException(Int32, Int32, String, Boolean)
Declaration
public MessageSizeException(int size, int limit, string operation, bool closeChannel = false)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size | |
System.Int32 | limit | |
System.String | operation | |
System.Boolean | closeChannel |
MessageSizeException(SerializationInfo, StreamingContext)
Declaration
protected MessageSizeException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Implements
System.Runtime.Serialization.ISerializable