PromoCodeGeneratorException Constructor (String)

Initializes a new instance of the PromoCodeGeneratorException class with a specified error message.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New PromoCodeGeneratorException(message)
public PromoCodeGeneratorException(
    string message
)
public:
PromoCodeGeneratorException(
    String^ message
)
public function PromoCodeGeneratorException(
    message : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.

Remarks

PromoCodeGeneratorException is raised when there is a problem sending messages to the Commerce Server Promo Code Generator COM+ Service.

Permissions

See Also

Reference

PromoCodeGeneratorException Class

PromoCodeGeneratorException Members

PromoCodeGeneratorException Overload

Microsoft.CommerceServer.Marketing Namespace