共用方式為


ToastNotificationManagerForUser.GetHistoryForToastCollectionIdAsync 方法

定義

開始擷取指定之通知群組的通知歷程記錄。

public:
 virtual IAsyncOperation<ToastNotificationHistory ^> ^ GetHistoryForToastCollectionIdAsync(Platform::String ^ collectionId) = GetHistoryForToastCollectionIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ToastNotificationHistory> GetHistoryForToastCollectionIdAsync(winrt::hstring const& collectionId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ToastNotificationHistory> GetHistoryForToastCollectionIdAsync(string collectionId);
function getHistoryForToastCollectionIdAsync(collectionId)
Public Function GetHistoryForToastCollectionIdAsync (collectionId As String) As IAsyncOperation(Of ToastNotificationHistory)

參數

collectionId
String

Platform::String

winrt::hstring

您想要擷取其歷程記錄的通知群組識別碼。

傳回

物件,表示非同步作業。

屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於