PosControlException Constructor (String, ErrorCode, Int32, Exception)

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

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

public PosControlException(
	string message,
	ErrorCode errorCode,
	int errorCodeExtended,
	Exception e
);
public PosControlException(
	System.String message,
	ErrorCode errorCode,
	int errorCodeExtended,
	Exception e
);
public function PosControlException(
	 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.

Initializes a new instance of the PosControlException class with a specified error message, error code, extended error code value, and the exception that is the cause of the current exception.


Development Platforms

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

Target Platforms

Show: