Initializes a new HLException object with an error code, a message and an exception instance that triggered this exception.

Namespace:  Mergecom.HL7
Assembly:  Mergecom.HL7 (in Mergecom.HL7.dll) Version: 4.2.0.0

Syntax

C#
public HL7Exception(
	int errorCode,
	string description,
	Exception innerException
)
Visual Basic (Declaration)
Public Sub New ( _
	errorCode As Integer, _
	description As String, _
	innerException As Exception _
)
Visual C++
public:
HL7Exception(
	int errorCode, 
	String^ description, 
	Exception^ innerException
)

Parameters

errorCode
Type: System..::.Int32
One of the error code defined by static fields in this class.
description
Type: System..::.String
The description of the problem that generated this exception.
innerException
Type: System..::.Exception
The exception that caused this exception.

See Also