SIFWorks ADK 2.0
SifException Constructor (category, code, desc, zone, innerException)
NamespacesEdustructures.SifWorksSifExceptionSifExceptionSifExceptionNew(SifErrorCategoryCode, Int32, String, IZone, Exception)

[This is preliminary documentation and is subject to change.]

Constructs a SifException for delivery to the ZIS.
Declaration Syntax
C#Visual BasicVisual C++
public SifException(
	SifErrorCategoryCode category,
	int code,
	string desc,
	IZone zone,
	Exception innerException
)
Public Sub New ( _
	category As SifErrorCategoryCode, _
	code As Integer, _
	desc As String, _
	zone As IZone, _
	innerException As Exception _
)
public:
SifException (
	SifErrorCategoryCode category, 
	int code, 
	String^ desc, 
	IZone^ zone, 
	Exception^ innerException
)
Parameters
category (SifErrorCategoryCode)
A SifErrorCategoryCode. error category
code (Int32)
A SifErrorCodes error code
desc (String)
The error description
zone (IZone)
The zone on which the error occurred
innerException (Exception)
The exception that is being handled by the agent
Remarks
The Adk will include the error information provided by the exception when it sends a SIF_Ack in response to the message being processed. This form of constructor is typically called by the Adk, but may also be called by agent code if an exception occurs in a Publisher, Subscriber, or QueryResults message handler implementation.

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10