Dispose Method (Boolean)
Collapse the table of content
Expand the table of content

DataContext.Dispose Method (Boolean)

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

Releases resources used by the DataContext.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

protected virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft