Content Studio Web Content Management System
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
true if the message is valid; otherwise, false
[This is preliminary documentation and is subject to change.]
Validates a message before it is sent to a single subscriber.
Namespace: ContentStudio.Document.Subscription.EventHandler
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- subscriber
- Type: ContentStudio.Document.Subscription.EventHandlerSubscriptionInformation
The subscriber.
Return Value
Type: Booleantrue if the message is valid; otherwise, false
Remarks
Developers can override this method when there is a need to alter the message content according to the subscriber found or make sure that the message is suited for the subscriber. For example you might want to insert the name of the subscriber at a specfic position in the message.
Note |
---|
If this method returns false the message will not be sent out to the subscriber. |
See Also