Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

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.

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:
© 2017 Microsoft