IAsyncActionWithProgress<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 callback method that receives progress notification.
AsyncActionProgressHandler<TProgress> Progress();
void Progress(AsyncActionProgressHandler<TProgress> handler);
public AsyncActionProgressHandler<TProgress> Progress { get; set; }
Public Property Progress As AsyncActionProgressHandler(Of TProgress)
Property Value
A reference to the callback method that handles progress notifications. Implement the AsyncActionProgressHandler(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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för