다음을 통해 공유


Dispose Method

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

Releases all resources used by the PipelineInfo.

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As PipelineInfo

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

Implements

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

Remarks

Call Dispose when you are finished using the PipelineInfo. The Dispose method leaves the PipelineInfo in an unusable state. After calling Dispose, you must release all references to the PipelineInfo so the garbage collector can reclaim the memory that the PipelineInfo was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

Note

Always call Dispose before you release your last reference to the PipelineInfo. Otherwise, the resources it is using will not be freed until the garbage collector calls the PipelineInfo object's Finalize method.

Permissions

See Also

Reference

PipelineInfo Class

PipelineInfo Members

Microsoft.CommerceServer.Runtime.Orders Namespace