AsyncOperationCompletedHandler AsyncOperationCompletedHandler AsyncOperationCompletedHandler AsyncOperationCompletedHandler AsyncOperationCompletedHandler Delegate

Definition

Represents a method that handles the completed event of an asynchronous operation.

public : delegate void AsyncOperationCompletedHandler(IAsyncOperation<TResult> asyncInfo, AsyncStatus asyncStatus)
struct AsyncOperationCompletedHandler : winrt::Windows::Foundation::IUnknown
{
   AsyncOperationCompletedHandler(std::nulptr_t = nullptr) noexcept {}
   template <typename L> AsyncOperationCompletedHandler(L lambda);
   template <typename F> AsyncOperationCompletedHandler(F* function);
   template <typename O, typename M> AsyncOperationCompletedHandler(O* object, M method);
   void operator()(winrt::Windows::Foundation::AsyncOperationCompletedHandler const& sender) const;
};
public delegate void AsyncOperationCompletedHandler(IAsyncOperation<TResult> asyncInfo, AsyncStatus asyncStatus)
Public Delegate AsyncOperationCompletedHandler(asyncInfo As IAsyncOperation<TResult>, asyncStatus As AsyncStatus)
var asyncOperationCompletedHandler = function(asyncInfo, asyncStatus) {

 /* Your code */

}
Parameters
asyncStatus
AsyncStatus AsyncStatus AsyncStatus

One of the enumeration values.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)