Class OperationFailureException
OperationFailureException is thrown when a failure occurs in the class library. This failure usually is one that stops the proper functioning of the class library.
Inheritance
System.Object
System.Exception
OperationFailureException
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.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: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class OperationFailureException : Exception, ISerializable
Remarks
Derived off of the System.Exception class, this exception provides a results enum to be associated with the exception, via the Result property.
Properties
Result
The RFIDResults associated with the exception.
Declaration
public RFIDResults Result { get; }
Property Value
| Type | Description |
|---|---|
| RFIDResults | An integer result that contains information about what caused the exception. |
StatusDescription
The status description associated with the exception.
Declaration
public string StatusDescription { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
TimeStamp
The timeStamp associated with the exception.
Declaration
public DateTime TimeStamp { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
VendorMessage
The vendor message associated with the exception.
Declaration
public string VendorMessage { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
ToString()
Returns the API3 specific error information along with Standard Exception trace
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | API specific status information |
Overrides
System.Exception.ToString()
Implements
System.Runtime.Serialization.ISerializable