Dela via


RequestTimeoutsIEndpointConventionBuilderExtensions.DisableRequestTimeout Method

Definition

Disables request timeout on the endpoint(s).

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

Parameters

builder
IEndpointConventionBuilder

The endpoint convention builder.

Returns

The original convention builder parameter.

Remarks

Will skip both the default timeout, and any endpoint-specific timeout that apply to the endpoint(s).

Applies to