MailSubscriptionHandler Methods Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

The MailSubscriptionHandler type exposes the following members.

Methods

  Name Description
Protected method CreateLogger
Creates the logger object that logs events to its implementation of the ISysLogWriter interface.
(Inherited from SubscriptionEventHandlerBase.)
Protected method CreateMessage
When implemented in derived class creates a message to be sent out to subscribers. This method gets called once from the event handler.
(Overrides SubscriptionEventHandlerBaseCreateMessage.)
Public method Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SubscriptionEventHandlerBase.)
Protected method Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Overrides SubscriptionEventHandlerBaseDispose(Boolean).)
Public method Equals (Inherited from Object.)
Public method EventHandler
Defines an asyncronous Content Studio event handler. This method gets called by Content Studio Service Manager when it needs to handle a subscription related event.
(Inherited from SubscriptionEventHandlerBase.)
Protected method Finalize
Releases unmanaged resources and performs other cleanup operations before the SubscriptionEventHandlerBase is reclaimed by garbage collection.
(Inherited from SubscriptionEventHandlerBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ReadData
Gets a list of subscribers that should receive messages.
(Inherited from SubscriptionEventHandlerBase.)
Protected method Code example SendMessage
Sends the message to the specified subscriber.
(Overrides SubscriptionEventHandlerBaseSendMessage(SubscriptionInformation).)
Protected method SetMailMessageContent
Sets a new Html body an text body of a message.
Protected method SetStatus
Sets the status text that is sent back to the Service Manager after that the event handler has finished.
(Inherited from SubscriptionEventHandlerBase.)
Public method ToString (Inherited from Object.)
Protected method ValidateEvent
When implemented in derived classes, checks if the the event passed in is valid for this implementation.
(Overrides SubscriptionEventHandlerBaseValidateEvent(Int32).)
Protected method Code example ValidateMessage
Validates a message before it is sent to a single subscriber.
(Overrides SubscriptionEventHandlerBaseValidateMessage(SubscriptionInformation).)
Protected method ValidateSubscriber
Validates the subscriber to see if he/she should receive the message.
(Overrides SubscriptionEventHandlerBaseValidateSubscriber(SubscriptionInformation).)
Public method Code example WriteToLog
Writes a message to the logger provided that a logger exists.
(Inherited from SubscriptionEventHandlerBase.)
Top
See Also

Reference