Share via


CommerceException Constructor (String, Exception) (BCL)

Use this method to create a new instance of the CommerceException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Definition

[Visual Basic .NET]

Public Sub New( _ByValmsg As System.String, _
  ByValinner As System.Exception _
) 

[C#]

public CommerceSystem.Exception(System.Stringmsg,
  System.Exceptioninner);

Parameters

[Visual Basic .NET]

  • msg
    The error message.
  • inner
    The inner exception.

[C#]

  • msg
    The error message.
  • inner
    The inner exception.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Shared.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.