Table of Contents

Class HttpBindingBehaviorAttribute

Namespace
System.Web.Http.ModelBinding
Assembly
System.Web.Http.dll

Provides a base class for model-binding behavior attributes.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class HttpBindingBehaviorAttribute : Attribute
Inheritance
HttpBindingBehaviorAttribute
Derived
Inherited Members

Constructors

HttpBindingBehaviorAttribute(HttpBindingBehavior)

Initializes a new instance of the HttpBindingBehaviorAttribute class.

public HttpBindingBehaviorAttribute(HttpBindingBehavior behavior)

Parameters

behavior HttpBindingBehavior

The behavior.

Properties

Behavior

Gets or sets the behavior category.

public HttpBindingBehavior Behavior { get; }

Property Value

HttpBindingBehavior

The behavior category.

TypeId

Gets the unique identifier for this attribute.

public override object TypeId { get; }

Property Value

object

The id for this attribute.