CommerceTargetingException Constructor (String)

Initializes a new instance of the CommerceTargetingException class using the specified error message.

Namespace:  Microsoft.CommerceServer.Runtime.Targeting
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

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

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

Parameters

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

Remarks

The exception that is thrown when the profiles collection contains profiles other than User and TargetingContext.

Permissions

See Also

Reference

CommerceTargetingException Class

CommerceTargetingException Members

CommerceTargetingException Overload

Microsoft.CommerceServer.Runtime.Targeting Namespace