Dela via


ToastCollectionManager Class

Definition

Provides methods for creating, retrieving, updating, and removing ToastCollection objects.

public ref class ToastCollectionManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
class ToastCollectionManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastCollectionManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public sealed class ToastCollectionManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastCollectionManager
Public NotInheritable Class ToastCollectionManager
Inheritance
Object Platform::Object IInspectable ToastCollectionManager
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Properties

AppId

Gets the ID of the app to which this manager belongs.

User

Gets the user who receives the toast notification groups created by this toast collection manager.

Methods

FindAllToastCollectionsAsync()

Starts the retrieval of all toast notification groups created by this manager.

GetToastCollectionAsync(String)

Starts the retrieval of the specified notification group.

RemoveAllToastCollectionsAsync()

Starts the asynchronous removal of all toast notification groups for the app.

RemoveToastCollectionAsync(String)

Starts the asynchronous removal of the specified toast notification group.

SaveToastCollectionAsync(ToastCollection)

Starts the asynchronous creation or update of the specified toast notification group.

Applies to