/ items! --------- --------- --------- | Open | | Retry | | Dismiss | --------- --------- --------- */
| 57 | --------- --------- --------- |
| 58 | */ |
| 59 | void SendFailed(winrt::hstring prompt, winrt::hstring destination) |
| 60 | { |
| 61 | winrt::Microsoft::Windows::AppNotifications::Builder::AppNotificationBuilder builder; |
| 62 | builder.AddText(prompt); |
| 63 | |
| 64 | AddButtonTo(builder, L"Open", L"open", destination, winrt::Microsoft::Windows::AppNotifications::Builder::AppNotificationButtonStyle::Critical); |
| 65 | AddButtonTo(builder, L"Retry", L"retry", destination); |
| 66 | AddButtonTo(builder, L"Dismiss"); |
| 67 | winrt::Microsoft::Windows::AppNotifications::AppNotificationManager::Default().Show(builder.BuildNotification()); |
| 68 | } |
| 69 | } |
nothing calls this directly
no test coverage detected