ProgressWithCompletion<T> – konstruktor (Func<T, Task>)
Inicializuje novou instanci ProgressWithCompletion.
Obor názvů: Microsoft.VisualStudio.Threading
Sestavení: Microsoft.VisualStudio.Threading (v Microsoft.VisualStudio.Threading.dll)
Syntaxe
'Deklarace
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>
)
Parametry
handler
Typ: Func<T, Task>Asynchronní obslužnou rutinu.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.
Viz také
Referenční dokumentace
ProgressWithCompletion<T> Třída