AsyncActionProgressHandler<TProgress> AsyncActionProgressHandler<TProgress> AsyncActionProgressHandler<TProgress> AsyncActionProgressHandler<TProgress> AsyncActionProgressHandler<TProgress> Delegate

Definition

Represents a method that handles progress update events of an asynchronous action that provides progress updates.

public : delegate void AsyncActionProgressHandler<TProgress>(IAsyncActionWithProgress<TProgress> asyncInfo, TProgress progressInfo)
struct AsyncActionProgressHandler<TProgress> : winrt::Windows::Foundation::IUnknown
{
   AsyncActionProgressHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> AsyncActionProgressHandler(L lambda);
   template <typename F> AsyncActionProgressHandler(F* function);
   template <typename O, typename M> AsyncActionProgressHandler(O* object, M method);
   void operator()(winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress> const& asyncInfo, TProgress const& progressInfo) const;
};
public delegate void AsyncActionProgressHandler<TProgress>(IAsyncActionWithProgress<TProgress> asyncInfo, TProgress progressInfo)
Public Delegate Sub AsyncActionProgressHandler(Of TProgress)(asyncInfo As IAsyncActionWithProgress(Of TProgress), progressInfo As TProgress)
var asyncActionProgressHandler = function(asyncInfo, progressInfo) {

 /* Your code */

}
Parameters
progressInfo
TProgress TProgress TProgress

The progress information.

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