CompositeNotificationReceiver Class
Provides the functionality to combine notification receivers.
Inheritance Hierarchy
SystemObject
  GroupDocs.ParserCompositeNotificationReceiver

Namespace: GroupDocs.Parser
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 19.5
Syntax
public class CompositeNotificationReceiver : INotificationReceiver

The CompositeNotificationReceiver type exposes the following members.

Constructors
  NameDescription
Public methodCompositeNotificationReceiver
Initializes a new instance of the CompositeNotificationReceiver class.
Methods
  NameDescription
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 a hash function for a particular type.
(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 methodProcessMessage
Processes the message.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Examples

This code shows how to create CompositeNotificationReceiver and send a message:

C#
// Create a receiver which prints notifications in UI
var receiver1 = new UINotificationReceiver1();
// Create a receiver which writes notifications in the log file
var receiver2 = new LoggerNotificationReceiver2();
// Create a notification message
var message = NotificationMessage.CreateInformationMessage("test");
// Create a composite receiver
var compositeReceiver = new CompositeNotificationReceiver(receiver1, receiver2);
// Send a message to the receiver
compositeReceiver.ProcessMessage(message); // message sends to receiver1 AND receiver2
See Also