IAsyncOperationWithProgress<TResult,TProgress>.Progress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the method that handles progress notifications.
AsyncOperationProgressHandler<TResult, TProgress> Progress();
void Progress(AsyncOperationProgressHandler<TResult, TProgress> handler);
public AsyncOperationProgressHandler<TResult,TProgress> Progress { get; set; }
Public Property Progress As AsyncOperationProgressHandler(Of TResult, TProgress)
Property Value
A reference to the callback method that handles progress notifications. Implement the AsyncOperationProgressHandler<TResult, TProgress> delegate to define your callback. TProgress defines the progress unit type, which varies by method implementation.
Examples
For example C++/WinRT code illustrating how to handle the Progress event, see Delegate types for asynchronous actions and operations.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin