Class OperationNotSupportedException
This exception will be thrown when the operation performed is not supported by the XBee device.
Inheritance
System.Object
System.Exception
OperationNotSupportedException
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.Message
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 OperationNotSupportedException : XBeeDeviceException, ISerializable
Constructors
OperationNotSupportedException()
Initializes a new instance of the OperationNotSupportedException class.
Declaration
public OperationNotSupportedException()
OperationNotSupportedException(String)
Initializes a new instance of the OperationNotSupportedException class with a specified error message.
Declaration
public OperationNotSupportedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | ThThe error message that explains the reason for this exception. |
OperationNotSupportedException(String, Exception)
Initializes a new instance of the OperationNotSupportedException class with a specified error message and the exception that is the cause of this exception.
Declaration
public OperationNotSupportedException(string message, Exception innerException)
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. |
Implements
System.Runtime.Serialization.ISerializable