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
Scanjour.Workflow4.ActivityLibraryMessageExceptionCollector
Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax
The MessageExceptionCollector type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MessageExceptionCollector | Initializes a new instance of the MessageExceptionCollector class |
Properties
Name | Description | |
---|---|---|
MessageExceptions |
Dictionary containing the message handles (key) on which one or more exceptions has been registered in a list of exceptions.
|
Methods
Name | Description | |
---|---|---|
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.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also