다음을 통해 공유


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

반환

적용 대상