Compartir a través de


MultiplexedConnectionContext.AcceptAsync(CancellationToken) Método

Definición

Acepte de forma asincrónica una secuencia entrante en la conexión.

public abstract System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext?> AcceptAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member AcceptAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext>
Public MustOverride Function AcceptAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of ConnectionContext)

Parámetros

cancellationToken
CancellationToken

Devoluciones

Se aplica a