Share via


PosException Constructor (String, ErrorCode, Int32)

2/27/2008

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

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Protected Sub New ( _
    message As String, _
    errorCode As ErrorCode, _
    errorCodeExtended As Integer _
)
protected PosException (
    string message,
    ErrorCode errorCode,
    int errorCodeExtended
)
protected:
PosException (
    String^ message, 
    ErrorCode errorCode, 
    int errorCodeExtended
)
protected PosException (
    String message, 
    ErrorCode errorCode, 
    int errorCodeExtended
)
protected function PosException (
    message : String, 
    errorCode : ErrorCode, 
    errorCodeExtended : int
)

Parameters

  • message
    The error message that explains the reason for the exception.
  • errorCode
    The error code for the exception.
  • errorCodeExtended
    The extended error code for the exception.

See Also

Reference

PosException Class
PosException Members
Microsoft.PointOfService Namespace