Core Serial Library in C#
1.2
|
Thrown when an axis receives a reply from a device or axis which is not itself, or when the reply is of an unexpected type. More...
Public Member Functions | |
UnexpectedReplyReceivedException () | |
Initializes a new instance of the UnexpectedReplyReceivedException class. More... | |
UnexpectedReplyReceivedException (string message) | |
Initializes a new instance of the UnexpectedReplyReceivedException class with a specified error message. More... | |
Protected Member Functions | |
UnexpectedReplyReceivedException (SerializationInfo info, StreamingContext context) | |
Initializes a new instance of the UnexpectedReplyReceivedException class with serialized data. More... | |
Thrown when an axis receives a reply from a device or axis which is not itself, or when the reply is of an unexpected type.
This exception is usually thrown when the input buffer has become shifted or misaligned. Generally this is caused by a Write() not being followed by a Read() somewhere when dealing with a port object directly.
|
inline |
Initializes a new instance of the UnexpectedReplyReceivedException class.
|
inline |
Initializes a new instance of the UnexpectedReplyReceivedException class with a specified error message.
message | The message that describes the error. |
|
inlineprotected |
Initializes a new instance of the UnexpectedReplyReceivedException class with serialized data.
info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
context | The StreamingContext that contains contextual information about the source or destination. |