Share via


CommerceException Class (BCL)

Base type for all .NET-based Commerce Server exceptions.

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

Public Instance Constructor

Constructor Description
CommerceException Constructor Creates a new instance of the CommerceException class.
CommerceException Constructor(String) Creates a new instance of the CommerceException class with a specified error message.
CommerceException Constructor(String, COMException) Creates a new instance of the CommerceException class with a specified error message and a reference to the inner COM exception that is the cause of this exception.
CommerceException Constructor(String, Exception) Creates 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.

 

Protected Instance Constructor

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

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Shared.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.