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.

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public class MessageExceptionCollector
Inheritance
Object    MessageExceptionCollector

Constructors

MessageExceptionCollectorInitializes a new instance of the MessageExceptionCollector class

Properties

MessageExceptions Dictionary containing the message handles (key) on which one or more exceptions has been registered in a list of exceptions.

Methods

AddException Registers an exception for a message handle.
CreateException 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.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

See Also