Releases the unmanaged resources used by the DataContext class and optionally releases the managed resource.
Protected Overridable Sub Dispose ( _
disposing As Boolean _
- Type: System.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Supported in: 4.6, 4.5, 4, 3.5
.NET Framework Client Profile
Supported in: 4