【发布时间】:2015-03-30 11:59:34
【问题描述】:
我在我的应用程序的 ScheduledAgent.cs 中使用 ShellToast,当我想点击 ShellToast 显示的通知时,我想导航到不同的第二页,但是当我尝试它时没有任何反应
protected override void OnInvoke(ScheduledTask task)
{
var toast = new ShellToast
{
Title = "KWTtest",
Content = toastMessage
};
toast.NavigationUri = new Uri("/View/SettingsPage.xaml",
UriKind.RelativeOrAbsolute);
toast.Show();
NotifyComplete();
}
}
【问题讨论】:
标签: c# windows-phone-8 navigation notifications scheduled-tasks