CorruptedMessageException Class

The CorruptedMessageException class represents the exception that is thrown by a delivery channel when the notification message it is trying to send is corrupted.

System.Object

   Microsoft.SharePoint.Portal.Alerts.AlertException

      Microsoft.SharePoint.Portal.Alerts.CorruptedMessageException

Public Constructors

The following table shows the constructors of the CorruptedMessageException class and a brief description of each.

Name Description
CorruptedMessageException(String, String) Initializes a new instance of the CorruptedMessageException class with the specified channel name and error message.
CorruptedMessageException(String, String, Exception) Initializes a new instance of the CorruptedMessageException class with the specified channel name, an error message, and a reference to the inner exception that is the cause of this exception.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

This exception is thrown when a message is corrupt. Causes may include invalid e-mail address, invalid characters in the message, or errors in the XML format for the message. This exception indicates that the channel is working, but the specific message is invalid. The message is sent three more times before it is erased.

Requirements

Namespace: Microsoft.SharePoint.Portal.Alerts

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security