Partager via


MultiplexedConnectionContext.AcceptAsync(CancellationToken) Méthode

Définition

Acceptez de façon asynchrone un flux entrant sur la connexion.

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)

Paramètres

cancellationToken
CancellationToken

Retours

S’applique à