CommerceTargetingException Class (BCL)

Exception thrown when the profiles collection contains profiles other than User and TargetingContext.

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

Public Instance Constructor

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

 

Protected Instance Constructor

Constructor Description
CommerceTargetingException Constructor (SerializationInfo, StreamingContext) Creates a new instance of the CommerceTargetingException 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.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Targeting

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.