GeoCoordinateWatcher.Dispose Method (Boolean)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

abstract Dispose : 
        disposing:bool -> unit
override Dispose : 
        disposing:bool -> unit

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: