Click or drag to resize

MessageExceptionCollector Class

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_24.5.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.5.0.0.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
public class MessageExceptionCollector

The MessageExceptionCollector type exposes the following members.

Constructors
 NameDescription
Public methodMessageExceptionCollectorInitializes 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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
See Also