Share via


CommerceTargetingException Class

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

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

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class CommerceTargetingException _
    Inherits CommerceException _
    Implements ISerializable
'Usage
Dim instance As CommerceTargetingException
[SerializableAttribute]
public class CommerceTargetingException : CommerceException, ISerializable
[SerializableAttribute]
public ref class CommerceTargetingException : public CommerceException, 
    ISerializable
public class CommerceTargetingException extends CommerceException implements ISerializable

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    System..::.ApplicationException
      Microsoft.CommerceServer.Runtime..::.CommerceException
        Microsoft.CommerceServer.Runtime.Targeting..::.CommerceTargetingException

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

CommerceTargetingException Members

Microsoft.CommerceServer.Runtime.Targeting Namespace