AsyncActionWithProgressCompletedHandler<TProgress> 代理人

定義

進行状況の更新を提供する非同期アクションの完了したイベントを処理するメソッドを表します。

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2617417617, 52356, 17661, 172, 38, 10, 108, 78, 85, 82, 129)]
template <typename TProgress>
class AsyncActionWithProgressCompletedHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.Guid(2617417617, 52356, 17661, 172, 38, 10, 108, 78, 85, 82, 129)]
public delegate void AsyncActionWithProgressCompletedHandler<TProgress>(IAsyncActionWithProgress<TProgress> asyncInfo, AsyncStatus asyncStatus);
Public Delegate Sub AsyncActionWithProgressCompletedHandler(Of TProgress)(asyncInfo As IAsyncActionWithProgress(Of TProgress), asyncStatus As AsyncStatus)

型パラメーター

TProgress

パラメーター

asyncInfo
IAsyncActionWithProgress<TProgress>

非同期アクション。

asyncStatus
AsyncStatus

列挙値の 1 つ。

属性

Windows の要件

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

Completed イベントの処理方法を示す C++/WinRT コードの例については、「非同期アクションと操作のデリゲート型」を参照してください。

適用対象