SIFWorks ADK 2.0
SifException Constructor (category, code, desc, extDesc, zone, innerException)
NamespacesEdustructures.SifWorksSifExceptionSifExceptionSifExceptionNew(SifErrorCategoryCode, Int32, String, 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,
	string extDesc,
	IZone zone,
	Exception innerException
)
Public Sub New ( _
	category As SifErrorCategoryCode, _
	code As Integer, _
	desc As String, _
	extDesc As String, _
	zone As IZone, _
	innerException As Exception _
)
public:
SifException (
	SifErrorCategoryCode category, 
	int code, 
	String^ desc, 
	String^ extDesc, 
	IZone^ zone, 
	Exception^ innerException
)
Parameters
category (SifErrorCategoryCode)
A SifErrorCategoryCode. error category
code (Int32)
A SifErrorCodes error code
desc (String)
The error description
extDesc (String)
An option extended error description
zone (IZone)
The zone on which the error occurred
innerException (Exception)
The internal error that was thrown 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 IPublisher, ISubscriber, or IQueryResults message handler implementation.

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