Получение ошибки заголовка в файле UWP App.xaml.cs
.
Я отправляю сообщение из моего приложения UWP в мой основной проект.
Код:
private void OnPushNotificationReceived(PushNotificationChannel sender, PushNotificationReceivedEventArgs args)
{
var msg = args.ToastNotification.Content.InnerText;
XForms.MessagingCenter.Send<object, string>(this, SmartWCM.App.NotificationReceivedKey, msg);
}
ScreenShot:
![enter image description here](https://i.stack.imgur.com/2Awnh.png)