ODataRoutingAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a controller-level attribute that can be used to enable OData action selection based on routing conventions.
[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
- Inheritance
-
ODataRoutingAttribute
- Attributes
- Implements
-
System.Web.Http.Controllers.IControllerConfiguration
Constructors
ODataRoutingAttribute() |
Methods
Initialize(HttpControllerSettings, HttpControllerDescriptor) |
Callback invoked to set per-controller overrides for this controllerDescriptor. |