Compartilhar via


HttpConnectionFactory.DisposeAsync(ConnectionContext) Método

Definição

Descarta o especificado ConnectionContext.

public:
 virtual System::Threading::Tasks::Task ^ DisposeAsync(Microsoft::AspNetCore::Connections::ConnectionContext ^ connection);
public System.Threading.Tasks.Task DisposeAsync (Microsoft.AspNetCore.Connections.ConnectionContext connection);
abstract member DisposeAsync : Microsoft.AspNetCore.Connections.ConnectionContext -> System.Threading.Tasks.Task
override this.DisposeAsync : Microsoft.AspNetCore.Connections.ConnectionContext -> System.Threading.Tasks.Task
Public Function DisposeAsync (connection As ConnectionContext) As Task

Parâmetros

connection
ConnectionContext

A conexão a ser descartada.

Retornos

Um Task que representa o descarte assíncrono.

Implementações

Aplica-se a