AsyncOperationProgressHandler AsyncOperationProgressHandler AsyncOperationProgressHandler AsyncOperationProgressHandler AsyncOperationProgressHandler Delegate

Definition

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

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