ProgressWithCompletion<T> Class

 

An incremental progress reporting mechanism that also allows asynchronous awaiting for all reports to be processed.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

System.Object
  Microsoft.VisualStudio.Threading.ProgressWithCompletion<T>

public class ProgressWithCompletion<T> : IProgress<T>

Type Parameters

T

<typeparam name="T">The type of message sent in progress updates.</typeparam>

NameDescription
System_CAPS_pubmethodProgressWithCompletion<T>(Action<T>)

Initializes a new instance of ProgressWithCompletion.

System_CAPS_pubmethodProgressWithCompletion<T>(Func<T, Task>)

Initializes a new instance of ProgressWithCompletion.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodWaitAsync()

Returns a task that completes when all reported progress has executed.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIProgress<T>.Report(T)

Receives a progress update.

This type is thread-safe for all members.

Return to top
Show: