Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GeoCoordinateWatcher.Dispose Method (Boolean)

.NET Framework 4.6 and 4.5

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 GeoCoordinateWatcherclass.

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Supported in: Windows Phone Silverlight 8.1
Show:
© 2015 Microsoft