Share via


ToastNotificationManagerForUser.GetToastNotifierForToastCollectionIdAsync 方法

定義

為所指定通知群組的系結使用者和應用程式建立新的ToastNotification

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

參數

collectionId
String

Platform::String

winrt::hstring

您想要傳送之通知群組的識別碼。

傳回

您將用來傳送快顯通知的物件。

屬性

Windows 需求

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

適用於