DataContext::Dispose Method (Boolean)

 

Releases the unmanaged resources used by the DataContext class and optionally releases the managed resource.

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.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: