HubEndpointConventionBuilder 클래스

정의

허브 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
상속
HubEndpointConventionBuilder
구현

메서드

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 미들웨어에서 발생합니다.

적용 대상