This topic has not yet been rated - Rate this topic

Accelerometer Constructor

July 26, 2012

Creates a new instance of the Accelerometer object.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
'Declaration
Public Sub New
ExceptionCondition
SensorFailedException

The limit of 10 simultaneous instances of the Accelerometer class per application has been exceeded.

An application can create a maximum of 10 simultaneous instances of the Accelerometer class. An exception will be thrown if this limit is exceeded.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.