CommerceContext.Current Property (BCL)

The Current property is a read-only CommerceContext object containing the current request.

Definition

[Visual Basic .NET]

Public ReadOnly Property Current As CommerceContext

[C#]

public CommerceContext Current{get;} 

Property Value

The CommerceContext object containing the current request.

Remarks

CommerceContext objects are created by the Commerce Server .NET Application Framework as part of the processing for every ASPX page in the Commerce Server site. The CommerceApplicationModule class must be configured in the httpModules section in the web.config file.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Example Code for the Microsoft.CommerceServer.Runtime Namespace

Example Code for the Microsoft.CommerceServer.Runtime.Catalog Namespace

Example Code for the Microsoft.CommerceServer.Runtime.Orders Namespace

Example Code for the Microsoft.CommerceServer.Runtime.Pipelines Namespace

Example Code for the Microsoft.CommerceServer.Runtime.Profiles Namespace

Example Code for the Microsoft.CommerceServer.Runtime.Targeting Namespace

Copyright © 2005 Microsoft Corporation.
All rights reserved.