Content Property
Collapse the table of content
Expand the table of content

ScheduledNotification.Content Property

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

Gets or sets the text content of the notification that is displayed to the user when the notification is launched.

Namespace:  Microsoft.Phone.Scheduler
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

public virtual string Content { get; set; }
<object Content="string" .../>

Property Value

Type: System.String
The text content of the notification.

ExceptionCondition
ArgumentNullException

The content string cannot be null.

ArgumentOutOfRangeException

The content string cannot be zero length. The maximum length of the content string is 256 characters. The string can contain only printable ASCII characters (character values between 32 and 126).

The maximum length of the content string is 256 characters. The string can contain only printable ASCII characters (character values between 32 and 126).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2016 Microsoft