Click or drag to resize

ErrorRegistry Class

A registry that stores all errors and warnings.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpPro.Mib.ValidationErrorRegistry

Namespace:  Lextm.SharpSnmpPro.Mib.Validation
Assembly:  SharpSnmpPro.Mib (in SharpSnmpPro.Mib.dll) Version: 2.1.2
Syntax
public class ErrorRegistry

The ErrorRegistry type exposes the following members.

Constructors
  NameDescription
Public methodErrorRegistry
Initializes a new instance of the ErrorRegistry class.
Top
Properties
  NameDescription
Public propertyErrors
Errors.
Public propertyMessages
Messages.
Public propertyWarnings
Warnings.
Top
Methods
  NameDescription
Public methodAddError(RecognitionException, String)
Adds an error.
Public methodAddError(ErrorCategory, String, IConstruct)
Adds an error.
Public methodAddError(ErrorCategory, String, IToken, String)
Adds an error.
Public methodAddMessage(MessageCategory, String, IConstruct)
Adds a message.
Public methodAddMessage(MessageCategory, String, IToken, String)
Adds a message.
Public methodAddWarning(WarningCategory, String, IConstruct)
Adds a warning.
Public methodAddWarning(WarningCategory, String, IToken, String)
Adds a warning.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnErrorAdded
Called when an error is added.
Protected methodOnMessageAdded
Called when a message is added.
Protected methodOnWarningAdded
Called when a warning is added.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventErrorAdded
Occurs when an error is added.
Public eventMessageAdded
Occurs when a message is added.
Public eventWarningAdded
Occurs when a warning is added.
Top
See Also