共用方式為


AppInstallItem.InstallInProgressToastNotificationMode 屬性

定義

取得或設定應用程式安裝進行時的通知快顯通知模式。

public:
 property AppInstallationToastNotificationMode InstallInProgressToastNotificationMode { AppInstallationToastNotificationMode get(); void set(AppInstallationToastNotificationMode value); };
AppInstallationToastNotificationMode InstallInProgressToastNotificationMode();

void InstallInProgressToastNotificationMode(AppInstallationToastNotificationMode value);
public AppInstallationToastNotificationMode InstallInProgressToastNotificationMode { get; set; }
var appInstallationToastNotificationMode = appInstallItem.installInProgressToastNotificationMode;
appInstallItem.installInProgressToastNotificationMode = appInstallationToastNotificationMode;
Public Property InstallInProgressToastNotificationMode As AppInstallationToastNotificationMode

屬性值

值,指出系統是否會在應用程式安裝期間顯示快顯通知。 選項包括預設值、包含或不含快顯通知的快顯通知,以及沒有快顯通知。 如果已設定預設值,系統會選擇適當的快顯通知。

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)
應用程式功能
runFullTrust

適用於