[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.
| C# | Visual Basic | Visual C++ |
public virtual bool HasErrorCategory( SifErrorCategoryCode category )
Public Overridable Function HasErrorCategory ( _ category As SifErrorCategoryCode _ ) As Boolean
public: virtual bool HasErrorCategory ( SifErrorCategoryCode category )
- category (SifErrorCategoryCode)
- The SIF error category to search for
true if any errors wrapped by this exception match
the category