AsyncOperationWithProgressCompletedHandler<TResult,TProgress> 代理人

定義

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

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3898471453, 27303, 18147, 168, 226, 240, 9, 216, 64, 198, 39)]
template <typename TResult, typename TProgress>
class AsyncOperationWithProgressCompletedHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.Guid(3898471453, 27303, 18147, 168, 226, 240, 9, 216, 64, 198, 39)]
public delegate void AsyncOperationWithProgressCompletedHandler<TResult,TProgress>(IAsyncOperationWithProgress<TResult,TProgress> asyncInfo, AsyncStatus asyncStatus);
Public Delegate Sub AsyncOperationWithProgressCompletedHandler(Of TResult, TProgress)(asyncInfo As IAsyncOperationWithProgress(Of TResult, TProgress), asyncStatus As AsyncStatus)

型パラメーター

TResult
TProgress

パラメーター

asyncInfo
IAsyncOperationWithProgress<TResult,TProgress>

非同期操作。

asyncStatus
AsyncStatus

列挙値の 1 つ。

属性

Windows の要件

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

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

適用対象