MultiplexedConnectionContext.AcceptAsync(CancellationToken) メソッド

定義

接続で受信ストリームを非同期に受け入れます。

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)

パラメーター

cancellationToken
CancellationToken

戻り値

適用対象