Releases the unmanaged resources used by the DataContext class and optionally releases the managed resource.
System.Data.Linq (in System.Data.Linq.dll)
Protected Overridable Sub Dispose (
disposing As Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Return to top
Available since 3.5
Windows Phone Silverlight
Available since 7.1