Share via


CommerceTargetingException Constructor (String, COMException) (BCL)

Use this method to create a new instance of the CommerceTargetingException class with the specified message and inner exception.

Definition

[Visual Basic .NET]

Public Sub New( _ByValmessage As System.String, _
  ByValcomException As System.Runtime.InteropServices.COMException _
) 

[C#]

public CommerceTargetingException(System.Stringmessage,
  System.Runtime.InteropServices.COMExceptioncomException);

Parameters

[Visual Basic .NET]

  • message
    The error message.
  • comException
    The inner COM exception.

[C#]

  • message
    The error message.
  • comException
    The inner COM exception.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Targeting

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.