AppNotificationManager.UpdateAsync Method
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.
UpdateAsync(AppNotificationProgressData, String) |
Updates the progress data for app notifications with the specified tag identifier. Napomena 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. Napomena 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. |
Updates the progress data for app notifications with the specified tag identifier.
Napomena
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
Windows App SDK 1.6 i druge verzije
Proizvod | Verzije |
---|---|
Windows App SDK | 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |
Updates the progress data for app notifications with the specified tag and group identifiers.
Napomena
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
See also
Applies to
Windows App SDK 1.6 i druge verzije
Proizvod | Verzije |
---|---|
Windows App SDK | 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |