[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Starts vibration on the device.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Public Sub Start ( _ duration As TimeSpan _ )
public void Start( TimeSpan duration )
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