Share via


PosControlException Class

Definition

Defines the programmatic interface for exceptions thrown by service objects.

[System.Serializable]
public class PosControlException : Microsoft.PointOfService.PosException
[<System.Serializable>]
type PosControlException = class
    inherit PosException
Public Class PosControlException
Inherits PosException
Inheritance
PosControlException
Attributes

Constructors

PosControlException()
PosControlException(SerializationInfo, StreamingContext)

Creates an instance of the PosControlException class with serialized data.

PosControlException(String, ErrorCode, Exception)

Creates an instance of the PosControlException class with a specified error message, error code, and inner exception.

PosControlException(String, ErrorCode, Int32, Exception)

Creates an instance of the PosControlException class with a specified error message, error code, extended error code value, and the exception that is the cause of the current exception.

PosControlException(String, ErrorCode, Int32)

Creates an instance of the PosControlException class with a specified error message, error code, and extended error code value.

PosControlException(String, ErrorCode)

Creates an instance of the PosControlException class with a specified error message and error code.

PosControlException(String, Exception)
PosControlException(String)

Properties

ErrorCode

Gets the ErrorCode value for this exception.

ErrorCodeExtended

Gets the extended error code for this exception

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

(Inherited from PosException)
ToString()

Creates and returns a string representation of the current exception.

Applies to