Start Method
Collapse the table of content
Expand the table of content

VibrateController.Start Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Starts vibration on the device.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public void Start(
	TimeSpan duration


Type: System.TimeSpan
A TimeSpan object specifying the amount of time, in seconds, for which the phone vibrates. Valid times are between 0 and 5 seconds. Values greater than 5 or less than 0 raise an exception.

This method may throw one of the following exceptions.


Duration is greater than the 5 seconds or duration is negative.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft