Dispose Method

DataContext.Dispose Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

  NameDescription
Public method Dispose Releases all resources used by the DataContext.
Protected method Dispose(Boolean) Releases resources used by the DataContext.
Top

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

Show:
© 2017 Microsoft