ProgressReporter Class
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.
An entity that inherits IProgress<T> used by background work running on an extension to report progress.
public class ProgressReporter : IDisposable, IProgress<Microsoft.VisualStudio.RpcContracts.ProgressReporting.ProgressStatus>
type ProgressReporter = class
interface IProgress<ProgressStatus>
interface IDisposable
Public Class ProgressReporter
Implements IDisposable, IProgress(Of ProgressStatus)
- Inheritance
-
ProgressReporter
- Implements
Properties
CancellationToken |
Gets the cancellation token that provides to the extension for cancelling an ongoing background work. |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(Boolean) |
Disposes the instance and underlying proxies. |
OnWorkCanceled(Object, WorkCanceledEventArgs) |
Cancel the ongoing background work in the extension after WorkCanceled event has been triggered. |
Report(ProgressStatus) |
Inherited from IProgress<T>. |