IAsyncActionWithProgress<TProgress>.Progress IAsyncActionWithProgress<TProgress>.Progress IAsyncActionWithProgress<TProgress>.Progress IAsyncActionWithProgress<TProgress>.Progress IAsyncActionWithProgress<TProgress>.Progress Property

Definition

Gets or sets the callback method that receives progress notification.

public : AsyncActionProgressHandler<TProgress> Progress { get; set; }
AsyncActionProgressHandler<TProgress> Progress();

void Progress(AsyncActionProgressHandler<TProgress> progress);
public AsyncActionProgressHandler<TProgress> Progress { get; set; }
Public ReadWrite Property Progress As AsyncActionProgressHandler<TProgress>
var asyncActionProgressHandler = iAsyncActionWithProgress`1.progress;
iAsyncActionWithProgress`1.progress = asyncActionProgressHandler;

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.

See also