IProgress<T> 介面

定義

定義進度更新的提供者。

generic <typename T>
public interface class IProgress
public interface IProgress<in T>
type IProgress<'T> = interface
Public Interface IProgress(Of In T)

類型參數

T

進度更新值的型別。

這是反變數的型別參數。 也就是說,您可以使用您指定的類型,或衍生程度較低的任何類型。 如需共變數與反變數的詳細資訊,請參閱泛型中的共變數與反變數
衍生

方法

Report(T)

報告進度更新。

適用於