Compartilhar via


IConnectionFactory.DisposeAsync(ConnectionContext) Método

Definição

Descarta o especificado ConnectionContext.

public:
 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
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.

Aplica-se a