PosException Constructor (String, ErrorCode, Int32, Exception)
2/27/2008
Creates an instance of the PosException class with a specified error message, error code, and extended error code value.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Protected Sub New ( _
message As String, _
errorCode As ErrorCode, _
errorCodeExtended As Integer, _
e As Exception _
)
protected PosException (
string message,
ErrorCode errorCode,
int errorCodeExtended,
Exception e
)
protected:
PosException (
String^ message,
ErrorCode errorCode,
int errorCodeExtended,
Exception^ e
)
protected PosException (
String message,
ErrorCode errorCode,
int errorCodeExtended,
Exception e
)
protected function PosException (
message : String,
errorCode : ErrorCode,
errorCodeExtended : int,
e : Exception
)
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.
- 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