ClassNameFilteringEntry Class

Scanjour Workflow4 Reference Manual
An instance of this class can work in two modes (ClassNameFilteringEntryOperationMode): 1. Exact Type Match 2. Match on Descendant Types Exact Type Match An instance of this class looks for a perfect match between the type given by the fully qualified class name and the type of the exception.If there is perfect match, then it accepts the exception. Match on Descendant Types Like the Exact Type Match the instance looks for a perfect match between the type given by the fully qualified class name and the type of the exception.If there is perfect match, then it accepts the exception.If not, then the compares the super type of the exception with the specified type by recursion.For that reason, if the specified class is Exception and the instance is using Match on Descendant Types, then the filter entry will accept all exceptions.
Inheritance Hierarchy

SystemObject
  Scanjour.Workflow4.ActivityLibrary.ErrorManagementClassNameFilteringEntry

Namespace:  Scanjour.Workflow4.ActivityLibrary.ErrorManagement
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.0.1.0 (in Scanjour.Workflow4.ActivityLibrary_19.0.1.0.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

public class ClassNameFilteringEntry : IFilteringEntry

The ClassNameFilteringEntry type exposes the following members.

Constructors

  NameDescription
Public methodClassNameFilteringEntry
Creates an instance of this class with the class name that is used by the acceptance and the mode.
Top
Properties

  NameDescription
Public propertyFullyQualifiedClassName
The fully qualidied class name of the type used in this filter entry.
Public propertyMode
The mode in which the instance operates.
Top
Methods

  NameDescription
Public methodAccepts
Determines if the provided exception is accepted. If the Mode is ExactTypeMatch then the name of the exception type must match the provided name. If the Mode is MatchOnDecendantTypes then if an decendant to the exception type matches the specified name, then the exception is accepted as well.
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 methodGetErrorTextPart
Gets the error text part from the specified exception. The following instructions are supported: - fcqn: Returns the fully qualified class name of the exception that caused this filtering entry to accept the exception. Please note, that this exception can be a derived exception type. - cn: Returns the short class name of the exception that caused this filtering entry to accept the exception. Please note, that this exception can be a derived exception type. The instructions does not use any arguments.
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference