MessageExceptionCollector Class

Scanjour Workflow4 Reference Manual
Collects exception, which are registered along with the handle of the message being processed. When all message handles have been processed and the exceptions has been handled, then the class can produce one exception containing all the collected exception grouped by their message handle.
Inheritance Hierarchy

SystemObject
  Scanjour.Workflow4.ActivityLibraryMessageExceptionCollector

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.1.0.0.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public class MessageExceptionCollector

The MessageExceptionCollector type exposes the following members.

Constructors

  NameDescription
Public methodMessageExceptionCollector
Initializes a new instance of the MessageExceptionCollector class
Top
Properties

  NameDescription
Public propertyMessageExceptions
Dictionary containing the message handles (key) on which one or more exceptions has been registered in a list of exceptions.
Top
Methods

  NameDescription
Public methodAddException
Registers an exception for a message handle.
Public methodCreateException
Creates an exception containing all the message information collected from the message handles and the collected exceptions. The message in the produced exception will contain: - The ToString-value of the Exception-class. - The provided message. - A list of all message handles on which one or more exceptions are registred. - - o For each of the handles the exceptions are listed.
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference