CommerceProfileAlreadyExistsException Class (BCL)

Specialized Profiling System exception for a profile object that already exists.

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

Public Instance Constructor

Constructor Description
CommerceProfileAlreadyExistsException Constructor Creates a new instance of the CommerceProfileAlreadyExistsException class.
CommerceProfileAlreadyExistsException Constructor(String) Creates a new instance of the CommerceProfileAlreadyExistsException class with the specified message.
CommerceProfileAlreadyExistsException Constructor(String, Exception) Creates a new instance of the CommerceProfileAlreadyExistsException class with the specified message and inner exception.

 

Protected Instance Constructor

Constructor Description
CommerceProfileAlreadyExistsException Constructor (SerializationInfo, StreamingContext) Creates a new instance of the CommerceProfileAlreadyExistsException class with the specified serialization information and streaming context.

Public Instance Methods

Method Description
GetBaseException (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.
GetObjectData (SerializationInfo, StreamingContext) Sets the SerializationInfo object with information about the exception.
ToString (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.

 

Public Instance Properties

Property Description
HelpLink (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.
InnerException (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.
Message (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.
Source (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.
StackTrace (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.
TargetSite (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.

 

Protected Instance Properties

Property Description
HResult (Inherited from System.Exception) Refer to the .NET Framework SDK documentation for the System.Exception class.

Remarks

This class is derived from the CommerceProfileSystemException class.

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

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.