XBee C# library API reference

Show / Hide Table of Contents

Class ATCommandException

This exception will be thrown when any problem related to the communication with the XBee device occurs.

Inheritance
System.Object
System.Exception
XBeeException
CommunicationException
ATCommandException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
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: XBeeLibrary.Core.Exceptions
Assembly: XBeeLibrary.Core.dll
Syntax
public class ATCommandException : CommunicationException, ISerializable

Constructors

ATCommandException(String, Exception, ATCommandStatus)

Initializes a new instance of the ATCommandException class with a specified error message and the exception that is the cause of this exception.

Declaration
public ATCommandException(string message, Exception innerException, ATCommandStatus atCommandStatus)
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.

ATCommandStatus atCommandStatus

The status of the AT command response.

ATCommandException(String, ATCommandStatus)

Initializes a new instance of the ATCommandException class with a specified error message.

Declaration
public ATCommandException(string message, ATCommandStatus atCommandStatus)
Parameters
Type Name Description
System.String message

ThThe error message that explains the reason for this exception.

ATCommandStatus atCommandStatus

The status of the AT command response.

ATCommandException(ATCommandStatus)

Initializes a new instance of the ATCommandException class.

Declaration
public ATCommandException(ATCommandStatus atCommandStatus)
Parameters
Type Name Description
ATCommandStatus atCommandStatus

Properties

CommandStatus

The ATCommandStatus of the exception containing information about the AT command response.

Declaration
public ATCommandStatus CommandStatus { get; }
Property Value
Type Description
ATCommandStatus

CommandStatusMessage

The text containing the status of the AT command response.

Declaration
public string CommandStatusMessage { get; }
Property Value
Type Description
System.String

Message

The message reported by this exception.

Declaration
public override string Message { get; }
Property Value
Type Description
System.String
Overrides
System.Exception.Message

Implements

System.Runtime.Serialization.ISerializable
Product page More documentation Official site About Digi Contact us Support
©2019 Digi International Inc. All rights reserved.
Digi International Inc.