Freigeben über


ConnectionTimeoutExtensions.UseConnectionTimeout(ListenOptions) Methode

Definition

Fügen Sie die Verbindungstimeout-Middleware hinzu.

public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionTimeout (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions);
static member UseConnectionTimeout : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseConnectionTimeout (listenOptions As ListenOptions) As ListenOptions

Parameter

listenOptions
ListenOptions

Die zu verwendenden Serveroptionen.

Gibt zurück

Der Wert von listenOptions.

Gilt für: