GetErrors Method

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

This method returns a MailingListError array containing the errors that occurred during the execution of this operation.

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

Syntax

'Declaration
Public Function GetErrors As MailingListError()
'Usage
Dim instance As MailingListOperation
Dim returnValue As MailingListError()

returnValue = instance.GetErrors()
public MailingListError[] GetErrors()
public:
array<MailingListError^>^ GetErrors()
public function GetErrors() : MailingListError[]

Return Value

Type: array<Microsoft.CommerceServer.Marketing..::.MailingListError>[]()[]
An array of MailingListError objects representing the errors that occurred during the execution of this operation.

Remarks

Returns an array of errors that happened during this list operation. You can iterate through the MailingListError array and access the properties of the individual errors to get the ErrorCodes or EmailAddresses.

This property will always be non-null. The array length will be 0 if no errors occurred.

Permissions

See Also

Reference

MailingListOperation Class

MailingListOperation Members

Microsoft.CommerceServer.Marketing Namespace