Partager via


IBroadcastChannelSubscription.Attach<T> Méthode

Définition

public System.Threading.Tasks.Task Attach<T> (Func<T,System.Threading.Tasks.Task> onPublished, Func<Exception,System.Threading.Tasks.Task> onError = default);
abstract member Attach : Func<'T, System.Threading.Tasks.Task> * Func<Exception, System.Threading.Tasks.Task> -> System.Threading.Tasks.Task
Public Function Attach(Of T) (onPublished As Func(Of T, Task), Optional onError As Func(Of Exception, Task) = Nothing) As Task

Paramètres de type

T

Paramètres

onPublished
Func<T,Task>
onError
Func<Exception,Task>

Retours

S’applique à