次の方法で共有


StatusCode Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets a status code that indicates the derived type of the current instance.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property StatusCode As StatusCodes
'Usage
Dim instance As OrderGroup
Dim value As StatusCodes

value = instance.StatusCode
public StatusCodes StatusCode { get; }
public:
property StatusCodes StatusCode {
    StatusCodes get ();
}
public function get StatusCode () : StatusCodes

Property Value

Type: Microsoft.CommerceServer.Orders..::.StatusCodes
A StatusCodes enumeration value that determines the derived type of the current instance

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

The StatusCodes enumeration value shall be one of the following:

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace