Partilhar via


IWebTransportSession.OpenUnidirectionalStreamAsync(CancellationToken) Método

Definição

Abre um novo fluxo de saída unidirecional.

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento usado para cancelar a operação.

Retornos

O fluxo unidirecional que foi aberto.

Aplica-se a