Share via


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

3/2/2014

Creates an instance of the PosException 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
Protected Sub New ( _
    message As String, _
    e As Exception _
)
protected PosException (
    string message,
    Exception e
)
protected:
PosException (
    String^ message, 
    Exception^ e
)
protected PosException (
    String message, 
    Exception e
)
protected function PosException (
    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

PosException Class
PosException Members
Microsoft.PointOfService Namespace