[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.
| C# | Visual Basic | Visual 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 )
- category (SifErrorCategoryCode)
- The SIF error category to search for
- code (Int32)
- The SIF error code to search for
true if any errors wrapped by this exception match
the category and code