AsyncActionProgressHandler AsyncActionProgressHandler AsyncActionProgressHandler AsyncActionProgressHandler AsyncActionProgressHandler Delegate

Definition

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

public : delegate void AsyncActionProgressHandler(IAsyncActionWithProgress<TProgress> asyncInfo, TProgress progressInfo)
struct AsyncActionProgressHandler : winrt::Windows::Foundation::IUnknown
{
   AsyncActionProgressHandler(std::nulptr_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::AsyncActionProgressHandler const& sender) const;
};
public delegate void AsyncActionProgressHandler(IAsyncActionWithProgress<TProgress> asyncInfo, TProgress progressInfo)
Public Delegate AsyncActionProgressHandler(asyncInfo As IAsyncActionWithProgress<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)