ThreadedWaitDialogHelper.Session.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 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.