SIFWorks ADK 2.0
HasError Method (category, code)
NamespacesEdustructures.SifWorksSifExceptionHasError(SifErrorCategoryCode, Int32)

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

Determines if this SifException has an error with the specified category and code. In some versions of SIF, a SifException may describe more than one error. This method searches through all of the wrapped errors and returns true if any match the category and code.
Declaration Syntax
C#Visual BasicVisual C++
public virtual bool HasError(
	SifErrorCategoryCode category,
	int code
)
Public Overridable Function HasError ( _
	category As SifErrorCategoryCode, _
	code As Integer _
) As Boolean
public:
virtual bool HasError (
	SifErrorCategoryCode category, 
	int code
)
Parameters
category (SifErrorCategoryCode)
The SIF error category to search for
code (Int32)
The SIF error code to search for
Return Value
true if any errors wrapped by this exception match the category and code

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