BackgroundTaskProgressEventHandler 代理人

定義

バックグラウンド タスクの進行状況更新イベントを処理するメソッドを表します。

public delegate void BackgroundTaskProgressEventHandler(BackgroundTaskRegistration ^ sender, BackgroundTaskProgressEventArgs ^ args);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1189111868, 35464, 19609, 128, 76, 118, 137, 127, 98, 119, 166)]
class BackgroundTaskProgressEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1189111868, 35464, 19609, 128, 76, 118, 137, 127, 98, 119, 166)]
public delegate void BackgroundTaskProgressEventHandler(BackgroundTaskRegistration sender, BackgroundTaskProgressEventArgs args);
var backgroundTaskProgressEventHandlerHandler = function(sender, args){
/* Your code */
}
Public Delegate Sub BackgroundTaskProgressEventHandler(sender As BackgroundTaskRegistration, args As BackgroundTaskProgressEventArgs)

パラメーター

sender
BackgroundTaskRegistration

バックグラウンド タスク。

args
BackgroundTaskProgressEventArgs

通知が送信された時点でのタスクの進行状況情報。

属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

進行状況更新イベントは、アプリケーションがフォアグラウンドの間にのみ配信されます。

適用対象