PosControlException Constructor (String, ErrorCode, Int32)

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

Usage

'Usage
Dim message As String
Dim errorCode As ErrorCode
Dim errorCodeExtended As Integer
Dim posControlException1 As New PosControlException(message, errorCode, errorCodeExtended)

Syntax

'Declaration
Public Sub New( _
    ByVal message As String, _
    ByVal errorCode As ErrorCode, _
    ByVal errorCodeExtended As Integer _
)
public PosControlException(
    string message,
    ErrorCode errorCode,
    int errorCodeExtended
);
public: PosControlException(
    String^ message,
    ErrorCode^ errorCode,
    Int32 errorCodeExtended
);
public PosControlException(
    System.String message,
    ErrorCode errorCode,
    int errorCodeExtended
);
public function PosControlException(
     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.

Remarks

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosControlException Class
PosControlException Members
Microsoft.PointOfService Namespace