ControllerActionEndpointConventionBuilder 클래스

정의

인스턴스 사용자 지정 EndpointBuilder 에 사용할 규칙을 빌드합니다.

public ref class ControllerActionEndpointConventionBuilder sealed : Microsoft::AspNetCore::Builder::IEndpointConventionBuilder
public sealed class ControllerActionEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
type ControllerActionEndpointConventionBuilder = class
    interface IEndpointConventionBuilder
Public NotInheritable Class ControllerActionEndpointConventionBuilder
Implements IEndpointConventionBuilder
상속
ControllerActionEndpointConventionBuilder
구현

설명

이 인터페이스는 애플리케이션 시작 시 애플리케이션에 대한 엔드포인트를 사용자 지정하는 데 사용됩니다.

메서드

Add(Action<EndpointBuilder>)

지정한 규칙을 작성기 에 추가합니다. 규칙은 인스턴스를 사용자 지정 EndpointBuilder 하는 데 사용됩니다.

Finally(Action<EndpointBuilder>)

을 통해 등록된 규칙 후 실행을 위해 지정된 규칙을 등록합니다. Add(Action<EndpointBuilder>)

확장 메서드

DisableRequestTimeout(IEndpointConventionBuilder)

엔드포인트에서 요청 시간 제한을 사용하지 않도록 설정합니다.

WithRequestTimeout(IEndpointConventionBuilder, RequestTimeoutPolicy)

엔드포인트에 대한 제한 시간 정책을 지정합니다.

WithRequestTimeout(IEndpointConventionBuilder, String)

엔드포인트에 대한 제한 시간 정책을 지정합니다.

WithRequestTimeout(IEndpointConventionBuilder, TimeSpan)

엔드포인트에 대한 시간 제한을 지정합니다.

ShortCircuit(IEndpointConventionBuilder, Nullable<Int32>)

엔드포인트를 단락합니다. 엔드포인트 실행은 UseEndpoint 대신 UseRouting 미들웨어에서 발생합니다.

적용 대상