Version

SendBadgeNotification(Int32,TimeSpan) Method

Sends a badge notification to this tile.
Syntax
'Declaration
 
Public Overloads Sub SendBadgeNotification( _
   ByVal numericValue As Integer, _
   ByVal expiration As TimeSpan _
) 
public void SendBadgeNotification( 
   int numericValue,
   TimeSpan expiration
)

Parameters

numericValue
The numeric value to be displayed on the badge.
expiration
A System.TimeSpan which defines the amount of time for which the badge remains visible.
Remarks

This method cannot be called on a tile that is not associated with a control; attempting to do so will cause an exception to be thrown.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also