PosException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the programmatic interface for a generic exception in the POS for .NET system. All other exception classes inherit from PosException.
[System.Serializable]
public abstract class PosException : Exception
[<System.Serializable>]
type PosException = class
inherit Exception
interface ISerializable
Public MustInherit Class PosException
Inherits Exception
- Inheritance
-
PosException
- Derived
- Attributes
- Implements
Constructors
PosException() |
Creates an instance of the PosException class. |
PosException(SerializationInfo, StreamingContext) |
Creates an instance of the PosException class with serialized data. |
PosException(String, ErrorCode, Int32, Exception) |
Creates an instance of the PosException class with a specified error message, error code, and extended error code value. |
PosException(String, ErrorCode, Int32) |
Creates an instance of the PosException class with a specified error message, error code, and extended error code values. |
PosException(String, Exception) |
Creates an instance of the PosException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
PosException(String) |
Creates an instance of the PosException class with a specified error message. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the SerializationInfo with information about the exception. |