ErrorCode Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the error code associated with this error.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property ErrorCode As MailingListErrorCode
'Usage
Dim instance As MailingListError
Dim value As MailingListErrorCode
value = instance.ErrorCode
instance.ErrorCode = value
public MailingListErrorCode ErrorCode { get; set; }
public:
property MailingListErrorCode ErrorCode {
MailingListErrorCode get ();
void set (MailingListErrorCode value);
}
public function get ErrorCode () : MailingListErrorCode
public function set ErrorCode (value : MailingListErrorCode)
Property Value
Type: Microsoft.CommerceServer.Marketing..::.MailingListErrorCode
The MailingListErrorCode that is associated with the error.
Remarks
Returns the error code associated with the error. The enumeration value shall be one of the following:
BadFormat - The format of one of the columns was invalid. It will be set to its default value. (Non-fatal error).
BadUrl - The Url for this entry was invalid. It will set to its default value. (Non-fatal error).
DuplicateEmail --The Email address already exists in the system. (May or may not be a fatal error).
ExtraColumns -There were more columns than can be imported by the List Manager. The extra columns will be ignored. (Non-fatal error)
FatalError -A fatal error was encountered with this Mailing List Entry.
NoEmailColumn -No email address was found for this Mailing List Entry. (Generally a fatal error).
None -No Error
NonFatalError -A non-fatal error was encountered with this Mailing List Entry
OnlyEmailColumn - Only Email column was specified for this entry. All other columns will be set to their default values. (Non-fatal error).
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.