다음을 통해 공유


ODataRoutingAttribute 클래스

정의

라우팅 규칙에 따라 OData 작업 선택을 활성화하는 데 사용할 수 있는 컨트롤러 수준 특성을 정의합니다.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class ODataRoutingAttribute : Attribute, System.Web.Http.Controllers.IControllerConfiguration
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class ODataRoutingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ODataRoutingAttribute = class
    inherit Attribute
    interface IControllerConfiguration
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ODataRoutingAttribute = class
    inherit Attribute
Public NotInheritable Class ODataRoutingAttribute
Inherits Attribute
Implements IControllerConfiguration
Public NotInheritable Class ODataRoutingAttribute
Inherits Attribute
상속
ODataRoutingAttribute
특성
구현
System.Web.Http.Controllers.IControllerConfiguration

생성자

ODataRoutingAttribute()

라우팅 규칙에 따라 OData 작업 선택을 활성화하는 데 사용할 수 있는 컨트롤러 수준 특성을 정의합니다.

메서드

Initialize(HttpControllerSettings, HttpControllerDescriptor)

컨트롤러에서 이 컨트롤러 설명자를 재정의할 때마다 설정할 수 있는 콜백이 호출됩니다.

적용 대상