SIFWorks ADK 2.0
HasErrorCategory Method (category)
NamespacesEdustructures.SifWorksSifExceptionHasErrorCategory(SifErrorCategoryCode)

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

Determines if this SifException has an error with the specified category. 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.
Declaration Syntax
C#Visual BasicVisual C++
public virtual bool HasErrorCategory(
	SifErrorCategoryCode category
)
Public Overridable Function HasErrorCategory ( _
	category As SifErrorCategoryCode _
) As Boolean
public:
virtual bool HasErrorCategory (
	SifErrorCategoryCode category
)
Parameters
category (SifErrorCategoryCode)
The SIF error category to search for
Return Value
true if any errors wrapped by this exception match the category

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