Share via


CommerceProfileAlreadyExistsException Class

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

Specialized profile system exception for profile object already exists.

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

Syntax

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

Remarks

This exception will be thrown by the various forms of the CreateProfile method when an attempt is made to create a profile with an identical primary key value of an already existing profile instance.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    System..::.ApplicationException
      Microsoft.CommerceServer.Runtime..::.CommerceException
        Microsoft.CommerceServer.Runtime.Profiles..::.CommerceProfileSystemException
          Microsoft.CommerceServer.Runtime.Profiles..::.CommerceProfileAlreadyExistsException

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

CommerceProfileAlreadyExistsException Members

Microsoft.CommerceServer.Runtime.Profiles Namespace