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 CommerceModule object.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub Dispose
'Usage
Dim instance As CommerceModule
instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()
Implements
Remarks
Releases all resources used by the CommerceModule.
Calling this method allows the resources used by the application context to be reallocated for other purposes. This method calls the CommerceModule.Dispose (True) method to dispose of the resources.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.