Επεξεργασία

Κοινή χρήση μέσω


QuicConnection.DisposeAsync Method

Definition

If not closed explicitly by CloseAsync(Int64, CancellationToken), closes the connection silently (leading to idle timeout on the peer side) and releases all resources associated with the connection.

public:
 virtual System::Threading::Tasks::ValueTask DisposeAsync();
public System.Threading.Tasks.ValueTask DisposeAsync ();
abstract member DisposeAsync : unit -> System.Threading.Tasks.ValueTask
override this.DisposeAsync : unit -> System.Threading.Tasks.ValueTask
Public Function DisposeAsync () As ValueTask

Returns

A task that represents the asynchronous dispose operation.

Implements

Applies to