AsyncOperationWithProgressCompletedHandler<TResult,TProgress> AsyncOperationWithProgressCompletedHandler<TResult,TProgress> AsyncOperationWithProgressCompletedHandler<TResult,TProgress> AsyncOperationWithProgressCompletedHandler<TResult,TProgress> AsyncOperationWithProgressCompletedHandler<TResult,TProgress> Delegate

Definition

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

public : delegate void AsyncOperationWithProgressCompletedHandler<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress> asyncInfo, AsyncStatus asyncStatus)
struct AsyncOperationWithProgressCompletedHandler<TResult, TProgress> : winrt::Windows::Foundation::IUnknown
{
   AsyncOperationWithProgressCompletedHandler(std::nullptr_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::IAsyncOperationWithProgress<TResult, TProgress> const& asyncInfo, winrt::Windows::Foundation::AsyncStatus const& asyncStatus) const;
};
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)
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)