Class CommunicationFailException
An Exception thrown when fail to complete a sending and receiving messages cycle via ITransport for one of the expected reasons such as normal timeout, receiving a invalid reply, etc.
Implements
Inherited Members
Namespace: Libplanet.Net.Transports
Assembly: Libplanet.Net.dll
Syntax
[Serializable]
public class CommunicationFailException : Exception, ISerializable
Constructors
| Improve this Doc View SourceCommunicationFailException(SerializationInfo, StreamingContext)
An Exception thrown when fail to complete a sending and receiving messages cycle via ITransport for one of the expected reasons such as normal timeout, receiving a invalid reply, etc.
Declaration
public CommunicationFailException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
CommunicationFailException(String, MessageContent.MessageType, BoundPeer, Exception)
An Exception thrown when fail to complete a sending and receiving messages cycle via ITransport for one of the expected reasons such as normal timeout, receiving a invalid reply, etc.
Declaration
public CommunicationFailException(string message, MessageContent.MessageType messageType, BoundPeer peer, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
MessageContent.MessageType | messageType | |
BoundPeer | peer | |
Exception | innerException |
CommunicationFailException(String, MessageContent.MessageType, BoundPeer)
An Exception thrown when fail to complete a sending and receiving messages cycle via ITransport for one of the expected reasons such as normal timeout, receiving a invalid reply, etc.
Declaration
public CommunicationFailException(string message, MessageContent.MessageType messageType, BoundPeer peer)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
MessageContent.MessageType | messageType | |
BoundPeer | peer |
Properties
| Improve this Doc View SourceMessageType
An Exception thrown when fail to complete a sending and receiving messages cycle via ITransport for one of the expected reasons such as normal timeout, receiving a invalid reply, etc.
Declaration
public MessageContent.MessageType MessageType { get; }
Property Value
Type | Description |
---|---|
MessageContent.MessageType |
Peer
An Exception thrown when fail to complete a sending and receiving messages cycle via ITransport for one of the expected reasons such as normal timeout, receiving a invalid reply, etc.
Declaration
public BoundPeer Peer { get; }
Property Value
Type | Description |
---|---|
BoundPeer |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
An Exception thrown when fail to complete a sending and receiving messages cycle via ITransport for one of the expected reasons such as normal timeout, receiving a invalid reply, etc.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |