RequestTimeoutsIEndpointConventionBuilderExtensions.DisableRequestTimeout 方法

定義

停用端點 () 的要求逾時。

public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder DisableRequestTimeout (this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder);
static member DisableRequestTimeout : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function DisableRequestTimeout (builder As IEndpointConventionBuilder) As IEndpointConventionBuilder

參數

builder
IEndpointConventionBuilder

端點慣例產生器。

傳回

原始慣例產生器參數。

備註

將會略過預設逾時,以及套用至端點的任何端點特定逾時 () 。

適用於