2012-08-03 73 views

回答

0

在後臺任務,只需調用這個方法:

public static void makeToast(string toastText) 
    { 
     //Make a new toast with content "text" 
     ShellToast toast = new ShellToast(); 
     toast.Title = "Toast Title: "; 
     toast.Content = toastText; 
     //toast.NavigationUri = new Uri(); 
     toast.Show(); 
    }