Share via


PosManagementException Constructor (String, Exception) (POS for .NET v1.14 SDK Documentation)

3/2/2014

Initializes a new instance of the PosManagementException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    e As Exception _
)
public PosManagementException (
    string message,
    Exception e
)
public:
PosManagementException (
    String^ message, 
    Exception^ e
)
public PosManagementException (
    String message, 
    Exception e
)
public function PosManagementException (
    message : String, 
    e : Exception
)

Parameters

  • message
    The error message that explains the reason for the exception.
  • e
    The exception that is the cause of the current exception. If the e parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

See Also

Reference

PosManagementException Class
PosManagementException Members
Microsoft.PointOfService Namespace