Windows 10 アプリケーションを作成しています。ライブ タイルにバッジを表示する必要があります。NotificationsExtensions.Win10 Nuget パッケージをインストールしました。次のコードを使用します。
public static void UpdateTileBadgeNumberUsingNotificationExtensions()
{
BadgeNumericNotificationContent badgeContent = new BadgeNumericNotificationContent(2);
BadgeUpdateManager.CreateBadgeUpdaterForApplication().Update(badgeContent.CreateNotification());
}
ここで CreateNotification メソッドは BadgeContent では使用できません。NotificationsExtensions.Win10 Nuget パッケージを使用してバッジ カウントを実装するにはどうすればよいですか。