AsyncActionCompletedHandler 代理人

定義

非同期アクションの完了したイベントを処理するメソッドを表します。

public delegate void AsyncActionCompletedHandler(IAsyncAction ^ asyncInfo, AsyncStatus asyncStatus);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2767019137, 30409, 16573, 139, 230, 177, 217, 15, 178, 10, 231)]
class AsyncActionCompletedHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.Guid(2767019137, 30409, 16573, 139, 230, 177, 217, 15, 178, 10, 231)]
public delegate void AsyncActionCompletedHandler(IAsyncAction asyncInfo, AsyncStatus asyncStatus);
var asyncActionCompletedHandlerHandler = function(asyncInfo, asyncStatus){
/* Your code */
}
Public Delegate Sub AsyncActionCompletedHandler(asyncInfo As IAsyncAction, asyncStatus As AsyncStatus)

パラメーター

asyncInfo
IAsyncAction

非同期アクション。

asyncStatus
AsyncStatus

列挙値の 1 つ。

属性

Windows の要件

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

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

適用対象