Share via


ThreadedWaitDialogHelper.Session.Progress Property

Definition

Gets the IProgress<T> instance to use for updating the progress of the operation that is reported to the user.

public:
 property IProgress<Microsoft::VisualStudio::Shell::ThreadedWaitDialogProgressData ^> ^ Progress { IProgress<Microsoft::VisualStudio::Shell::ThreadedWaitDialogProgressData ^> ^ get(); };
public IProgress<Microsoft.VisualStudio.Shell.ThreadedWaitDialogProgressData> Progress { get; }
member this.Progress : IProgress<Microsoft.VisualStudio.Shell.ThreadedWaitDialogProgressData>
Public ReadOnly Property Progress As IProgress(Of ThreadedWaitDialogProgressData)

Property Value

Returns IProgress<T>.

Remarks

If Report(T) is invoked on the UI thread, this method will report progress and update the dialog immediately. If Report(T) is invoked from another thread, the dialog will be updated asynchronously when SwitchToMainThreadAsync(CancellationToken) can reach the UI thread.

Applies to