Partager via


RequestTimeoutsIServiceCollectionExtensions.AddRequestTimeouts Méthode

Définition

Surcharges

AddRequestTimeouts(IServiceCollection)

Ajoutez des services de délai d’expiration de demande.

AddRequestTimeouts(IServiceCollection, Action<RequestTimeoutOptions>)

Ajoutez les services de délai d’expiration des demandes et configurez les options associées.

AddRequestTimeouts(IServiceCollection)

Source:
RequestTimeoutsIServiceCollectionExtensions.cs

Ajoutez des services de délai d’expiration de demande.

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

Paramètres

services
IServiceCollection

pour l’ajout IServiceCollection de services.

Retours

S’applique à

AddRequestTimeouts(IServiceCollection, Action<RequestTimeoutOptions>)

Source:
RequestTimeoutsIServiceCollectionExtensions.cs

Ajoutez les services de délai d’expiration des demandes et configurez les options associées.

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

Paramètres

services
IServiceCollection

pour l’ajout IServiceCollection de services.

configure
Action<RequestTimeoutOptions>

Délégué utilisé pour configurer RequestTimeoutOptions.

Retours

S’applique à