次の方法で共有


IVsTaskProgress.Progress Property

Definition

Gets the IProgress<T> from this. Can be used to update the behaviour and state of this via Report(T).

PercentComplete must be between 0 and 100 (inclusive), or null for indeterminate progress.

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

Property Value

Remarks

If the requirement is not met, then the TaskProgressData will not be updated and will appear as a non operation.

Applies to