Freigeben über


HttpConnectionFactory.DisposeAsync(ConnectionContext) Methode

Definition

Entsorgt die angegebene 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

Parameter

connection
ConnectionContext

Die zu löschende Verbindung.

Gibt zurück

Ein Task , der den asynchronen Dispose darstellt.

Implementiert

Gilt für: