AppNotificationManager.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UpdateAsync(AppNotificationProgressData, String) |
Updates the progress data for app notifications with the specified tag identifier. Note The AppNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages. |
UpdateAsync(AppNotificationProgressData, String, String) |
Updates the progress data for app notifications with the specified tag and group identifiers. Note The AppNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages. |
UpdateAsync(AppNotificationProgressData, String)
Updates the progress data for app notifications with the specified tag identifier.
Note
The AppNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages.
public:
virtual IAsyncOperation<AppNotificationProgressResult> ^ UpdateAsync(AppNotificationProgressData ^ data, Platform::String ^ tag) = UpdateAsync;
/// [Windows.Foundation.Metadata.Overload("UpdateAsync2")]
IAsyncOperation<AppNotificationProgressResult> UpdateAsync(AppNotificationProgressData const& data, winrt::hstring const& tag);
[Windows.Foundation.Metadata.Overload("UpdateAsync2")]
public IAsyncOperation<AppNotificationProgressResult> UpdateAsync(AppNotificationProgressData data, string tag);
function updateAsync(data, tag)
Public Function UpdateAsync (data As AppNotificationProgressData, tag As String) As IAsyncOperation(Of AppNotificationProgressResult)
Parameters
An AppNotificationProgressData representing the progress of an app notification.
- tag
-
String
Platform::String
winrt::hstring
The unique identifier for the set of notifications to be updated, accessed with the Tag property.
Returns
An asynchronous operation that returns an AppNotificationProgressResult value.
- Attributes
See also
Applies to
UpdateAsync(AppNotificationProgressData, String, String)
Updates the progress data for app notifications with the specified tag and group identifiers.
Note
The AppNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages.
public:
virtual IAsyncOperation<AppNotificationProgressResult> ^ UpdateAsync(AppNotificationProgressData ^ data, Platform::String ^ tag, Platform::String ^ group) = UpdateAsync;
/// [Windows.Foundation.Metadata.Overload("UpdateAsync")]
IAsyncOperation<AppNotificationProgressResult> UpdateAsync(AppNotificationProgressData const& data, winrt::hstring const& tag, winrt::hstring const& group);
[Windows.Foundation.Metadata.Overload("UpdateAsync")]
public IAsyncOperation<AppNotificationProgressResult> UpdateAsync(AppNotificationProgressData data, string tag, string group);
function updateAsync(data, tag, group)
Public Function UpdateAsync (data As AppNotificationProgressData, tag As String, group As String) As IAsyncOperation(Of AppNotificationProgressResult)
Parameters
An AppNotificationProgressData representing the progress of an app notification.
- tag
-
String
Platform::String
winrt::hstring
The unique identifier for the set of notifications to be updated, accessed with the Tag property.
- group
-
String
Platform::String
winrt::hstring
The unique identifier for the app notification group to be updated, accessed with the Group property.
Returns
An asynchronous operation that returns an AppNotificationProgressResult.
- Attributes