Share via


PosException Constructor (String, ErrorCode, Int32) (POS for .NET v1.14 SDK Documentation)

3/2/2014

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