Dispose Method

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

Use this method to release resources used by the CommerceContext object.

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As CommerceContext

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()

Implements

IDisposable..::.Dispose()()()

Remarks

Releases all resources used by the CommerceContext object.

Calling this method allows the resources used by the application context to be reallocated for other purposes.

Permissions

See Also

Reference

CommerceContext Class

CommerceContext Members

Microsoft.CommerceServer.Runtime Namespace