Share via


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

3/2/2014

Initializes a new instance of the PosLibraryException 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 PosLibraryException (
    string message,
    Exception e
)
public:
PosLibraryException (
    String^ message, 
    Exception^ e
)
public PosLibraryException (
    String message, 
    Exception e
)
public function PosLibraryException (
    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

PosLibraryException Class
PosLibraryException Members
Microsoft.PointOfService Namespace