This topic has not yet been rated - Rate this topic

AccelerometerSensor.Stop Method

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

4/22/2010

Stops the device’s accelerometer sensor.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
public override void Stop()

This method may throw one of the following exceptions.

UnauthorizedAccessException

The caller does not have access to the accelerometer sensor

AccelerometerStopFailedException

The platform was unable to stop the accelerometer sensor.

Windows Phone OS 7.0

Did you find this helpful?
(1500 characters remaining)