Compartir a través de


ProgressWithCompletion<T> Constructor (Func<T, Task>)

Initializes a new instance of ProgressWithCompletion.

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

Syntax

'Declaration
Public Sub New ( _
    handler As Func(Of T, Task) _
)
public ProgressWithCompletion(
    Func<T, Task> handler
)
public:
ProgressWithCompletion(
    Func<T, Task^>^ handler
)
new : 
        handler:Func<'T, Task> -> ProgressWithCompletion
public function ProgressWithCompletion(
    handler : Func<T, Task>
)

Parameters

.NET Framework Security

See Also

Reference

ProgressWithCompletion<T> Class

ProgressWithCompletion<T> Overload

Microsoft.VisualStudio.Threading Namespace