GetNotificationXml Method

Override the GetNotificationXml method of the Notification class to get the text for this notification in XML format.

Return Value

A System.Xml.XmlDocument that contains this notification in XML format. System.Xml.XmlDocument contains null if there is no notification.

Exceptions

Exception type Condition
NotificationDataUnavailableException Notification data is not available.
NotificationDataTemporarilyUnavailableException The notification service will retry this message three times and then delete it.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security