Show / Hide Table of Contents

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.

Inheritance
Object
Exception
CommunicationFailException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Net.Transports
Assembly: Libplanet.Net.dll
Syntax
[Serializable]
public class CommunicationFailException : Exception, ISerializable

Constructors

| Improve this Doc View Source

CommunicationFailException(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
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

MessageType

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
| Improve this Doc View Source

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 Source

GetObjectData(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
Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExtractableException.ExtractMetadata(Exception)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium