DuplicateMailingListUserException Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The exception that is thrown when a name collision with an existing MailingListUser is encountered.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class DuplicateMailingListUserException _
    Inherits Exception _
    Implements ISerializable
'Usage
Dim instance As DuplicateMailingListUserException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class DuplicateMailingListUserException : Exception, ISerializable
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class DuplicateMailingListUserException : public Exception, 
    ISerializable
public class DuplicateMailingListUserException extends Exception implements ISerializable

Remarks

DuplicateMailingListUserException is thrown when an attempt is made to add a MailingListUser to a Simple Mailing List that already contains a user with the same Email Address. MailingListUser email addresses must be unique within the scope of the StaticList to which the User belongs.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Marketing..::.DuplicateMailingListUserException

Thread Safety

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

See Also

Reference

DuplicateMailingListUserException Members

Microsoft.CommerceServer.Marketing Namespace