共用方式為


UserActivityChannel.DeleteAllActivitiesAsync 方法

定義

刪除此應用程式註冊的所有使用者活動。

public:
 virtual IAsyncAction ^ DeleteAllActivitiesAsync() = DeleteAllActivitiesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteAllActivitiesAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteAllActivitiesAsync();
function deleteAllActivitiesAsync()
Public Function DeleteAllActivitiesAsync () As IAsyncAction

傳回

非同步動作。

屬性

範例

UserActivityChannel.GetDefault().DeleteAllActivities();

適用於