AsyncOperationWithProgressCompletedHandler AsyncOperationWithProgressCompletedHandler AsyncOperationWithProgressCompletedHandler AsyncOperationWithProgressCompletedHandler AsyncOperationWithProgressCompletedHandler Delegate

Definition

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

public : delegate void AsyncOperationWithProgressCompletedHandler(IAsyncOperationWithProgress<TResult, TProgress> asyncInfo, AsyncStatus asyncStatus)
struct AsyncOperationWithProgressCompletedHandler : winrt::Windows::Foundation::IUnknown
{
   AsyncOperationWithProgressCompletedHandler(std::nulptr_t = nullptr) noexcept {}
   template <typename L> AsyncOperationWithProgressCompletedHandler(L lambda);
   template <typename F> AsyncOperationWithProgressCompletedHandler(F* function);
   template <typename O, typename M> AsyncOperationWithProgressCompletedHandler(O* object, M method);
   void operator()(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler const& sender) const;
};
public delegate void AsyncOperationWithProgressCompletedHandler(IAsyncOperationWithProgress<TResult, TProgress> asyncInfo, AsyncStatus asyncStatus)
Public Delegate AsyncOperationWithProgressCompletedHandler(asyncInfo As IAsyncOperationWithProgress<TResult, TProgress>, asyncStatus As AsyncStatus)
var asyncOperationWithProgressCompletedHandler = 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)