Share via


DataContext.Dispose Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Releases all resources used by the DataContext.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone Dispose() Releases all resources used by the DataContext.
Protected methodSupported by Silverlight for Windows Phone Dispose(Boolean) Releases resources used by the DataContext.

Top

Remarks

For information about using a local database in your Windows Phone application, see Local Database Overview for Windows Phone.