1 out of 1 rated this helpful - Rate this topic

ShellToast Class

July 26, 2012

A class for displaying a toast to the user. While the Show() method can be called from any application, a toast will not be displayed if the current foreground application is the caller of the ShellToast.Show method. This means that this should primarily be used by a background agent.

System.Object
  Microsoft.Phone.Shell.ShellToast

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public class ShellToast
<ShellToast .../>

The ShellToast type exposes the following members.

  NameDescription
Public methodShellToastInitializes a new instance of the ShellToast class.
Top
  NameDescription
Public propertyContentThe contents of the toast message.
Public propertyNavigationUriURI to navigate to if the user taps the toast message.
Public propertyTitleThe title of the toast message.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodShowDisplay the toast message. While the Show method can be called from any application, a toast will not be displayed if the current foreground application is the caller of the Show method. This means that this should primarily be used by a background agent.
Public methodToString (Inherited from Object.)
Top

Windows Phone OS

Supported in: 7.1

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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