Share via


Dispose Method

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

Use this method to release resources by the MarketingContext object.

Overload List

  Name Description
Aa530196.pubmethod(en-US,CS.70).gif Dispose()()() Use this method to release resources by the MarketingContext object.
Aa530196.protmethod(en-US,CS.70).gif Dispose(Boolean) Releases the unmanaged resources used by this object and optionally releases the managed resources. (Overrides MarketingServices..::.Dispose(Boolean).)

Top

Remarks

Releases all resources used by the current module.

Dispose(bool) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.

See Also

Reference

MarketingContext Class

MarketingContext Members

Microsoft.CommerceServer.Marketing Namespace