HubEndpointConventionBuilder Klasa

Definicja

Kompiluje konwencje, które będą używane do dostosowywania wystąpień centrum EndpointBuilder .

public ref class HubEndpointConventionBuilder sealed : Microsoft::AspNetCore::Builder::IEndpointConventionBuilder, Microsoft::AspNetCore::Builder::IHubEndpointConventionBuilder
public sealed class HubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder
type HubEndpointConventionBuilder = class
    interface IEndpointConventionBuilder
    interface IHubEndpointConventionBuilder
type HubEndpointConventionBuilder = class
    interface IHubEndpointConventionBuilder
    interface IEndpointConventionBuilder
Public NotInheritable Class HubEndpointConventionBuilder
Implements IEndpointConventionBuilder, IHubEndpointConventionBuilder
Dziedziczenie
HubEndpointConventionBuilder
Implementuje

Metody

Add(Action<EndpointBuilder>)

Dodaje określoną konwencję do konstruktora. Konwencje są używane do dostosowywania EndpointBuilder wystąpień.

Finally(Action<EndpointBuilder>)

Rejestruje określoną konwencję wykonywania po zarejestrowaniu konwencji za pośrednictwem konwencji Add(Action<EndpointBuilder>)

Metody rozszerzania

DisableRequestTimeout(IEndpointConventionBuilder)

Wyłącza limit czasu żądania w punktach końcowych.

WithRequestTimeout(IEndpointConventionBuilder, RequestTimeoutPolicy)

Określa zasady limitu czasu dla punktów końcowych.

WithRequestTimeout(IEndpointConventionBuilder, String)

Określa zasady limitu czasu dla punktów końcowych.

WithRequestTimeout(IEndpointConventionBuilder, TimeSpan)

Określa limit czasu dla punktów końcowych.

ShortCircuit(IEndpointConventionBuilder, Nullable<Int32>)

Zwarcie punktów końcowych. Wykonanie punktu końcowego nastąpi w programie UseRouting middleware zamiast UseEndpoint.

Dotyczy