Condividi tramite


IWebTransportSession.OpenUnidirectionalStreamAsync(CancellationToken) Metodo

Definizione

Apre un nuovo flusso di output unidirectional.

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)

Parametri

cancellationToken
CancellationToken

Token di annullamento usato per annullare l'operazione.

Restituisce

Flusso unidirectionale aperto.

Si applica a