Compartir a través de


RequestTimeoutsIServiceCollectionExtensions.AddRequestTimeouts Método

Definición

Sobrecargas

AddRequestTimeouts(IServiceCollection)

Agregar servicios de tiempo de espera de solicitud.

AddRequestTimeouts(IServiceCollection, Action<RequestTimeoutOptions>)

Agregue servicios de tiempo de espera de solicitud y configure las opciones relacionadas.

AddRequestTimeouts(IServiceCollection)

Source:
RequestTimeoutsIServiceCollectionExtensions.cs

Agregar servicios de tiempo de espera de solicitud.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestTimeouts (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRequestTimeouts : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestTimeouts (services As IServiceCollection) As IServiceCollection

Parámetros

services
IServiceCollection

IServiceCollection para agregar servicios.

Devoluciones

Se aplica a

AddRequestTimeouts(IServiceCollection, Action<RequestTimeoutOptions>)

Source:
RequestTimeoutsIServiceCollectionExtensions.cs

Agregue servicios de tiempo de espera de solicitud y configure las opciones relacionadas.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestTimeouts (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Http.Timeouts.RequestTimeoutOptions> configure);
static member AddRequestTimeouts : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Http.Timeouts.RequestTimeoutOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestTimeouts (services As IServiceCollection, configure As Action(Of RequestTimeoutOptions)) As IServiceCollection

Parámetros

services
IServiceCollection

IServiceCollection para agregar servicios.

configure
Action<RequestTimeoutOptions>

Un delegado para configurar la instancia de RequestTimeoutOptions.

Devoluciones

Se aplica a