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

열거형 값 중 하나입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.FoundationContract (v1.0에서 도입되었습니다.)

예제

Completed 이벤트를 처리하는 방법을 보여 주는 C++/WinRT 코드 예제는 비동기 작업 및 작업에 대한 형식 위임을 참조하세요.

적용 대상