Share via


AppConfig.DecodeStatusCode Method (PIA)

Use this method to decode the specified status code.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Configuration
…
Public Function DecodeStatusCode(iStatusCode As Integer) As String

[C#]

using Microsoft.CommerceServer.Interop.Configuration;
…
public string DecodeStatusCode(
intiStatusCode);

Parameters

[Visual Basic .NET]

  • iStatusCode
    An Integer that specifies the status code to be decoded.

[C#]

  • iStatusCode
    An int that specifies the status code to be decoded.

Return Values

[Visual Basic .NET] If this method completes successfully, it returns a String that contains the decoded status code. If the specified status code is not in the system, that same status code is returned.

[C#] This method returns a string containing the decoded status code. If the specified status code is not in the system, that same status code is returned.

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

Status codes are entered in Commerce Server Business Desk.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Configuration

Platforms: Windows 2000, Windows Server 2003

Assembly: apphelperlib (in apphelperlib.dll)

See Also

AppConfig Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.