Share via


MultiplexedConnectionDelegate Delegate

Definition

A function that can process a connection.

public delegate System.Threading.Tasks.Task MultiplexedConnectionDelegate(MultiplexedConnectionContext connection);
type MultiplexedConnectionDelegate = delegate of MultiplexedConnectionContext -> Task
Public Delegate Function MultiplexedConnectionDelegate(connection As MultiplexedConnectionContext) As Task 

Parameters

connection
MultiplexedConnectionContext

A MultiplexedConnectionContext representing the connection.

Return Value

A Task that represents the connection lifetime. When the task completes, the connection will be closed.

Applies to