Class TransmitException
This exception will be thrown when receiving a transmit status different than SUCCESS after sending an XBee API packet.
Implements
Inherited Members
Namespace: XBeeLibrary.Core.Exceptions
Assembly: XBeeLibrary.Core.dll
Syntax
public class TransmitException : CommunicationException, ISerializable
Constructors
TransmitException(String, Exception, XBeeTransmitStatus)
Initializes a new instance of the TimeoutException class with a specified error message and the exception that is the cause of this exception.
Declaration
public TransmitException(string message, Exception innerException, XBeeTransmitStatus transmitStatus)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | ThThe error message that explains the reason for this exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
XBeeTransmitStatus | transmitStatus | The status of the transmission. |
TransmitException(String, XBeeTransmitStatus)
Initializes a new instance of the TimeoutException class with a specified error message.
Declaration
public TransmitException(string message, XBeeTransmitStatus transmitStatus)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | ThThe error message that explains the reason for this exception. |
XBeeTransmitStatus | transmitStatus | The status of the transmission. |
TransmitException(XBeeTransmitStatus)
Initializes a new instance of the TimeoutException class.
Declaration
public TransmitException(XBeeTransmitStatus transmitStatus)
Parameters
Type | Name | Description |
---|---|---|
XBeeTransmitStatus | transmitStatus | The status of the transmission. |
Properties
Message
The exception message.
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TransmitStatus
The XBeeTransmitStatus of the exception containing information about the transmission.
Declaration
public XBeeTransmitStatus TransmitStatus { get; }
Property Value
Type | Description |
---|---|
XBeeTransmitStatus |
See Also
TransmitStatusMessage
The transmit status message.
Declaration
public string TransmitStatusMessage { get; }
Property Value
Type | Description |
---|---|
System.String |