GeoCoordinateWatcher.Dispose Method (Boolean)

.NET Framework (current version)
 

Releases all resources used by the current instance of the GeoCoordinateWatcher class.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

Protected Overridable Sub Dispose (
	disposing As Boolean
)

Parameters

disposing
Type: System.Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Call Dispose when you are finished using the T:System.Device.Location.GeoCoordinateWatcher class.

This method should be called so that unmanaged resources can be freed.

For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: