Export (0) Print
Expand All
0 out of 8 rated this helpful - Rate this topic

FromBodyAttribute Class

An attribute that specifies that an action parameter comes only from the entity body of the incoming HttpRequestMessage.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Parameter, Inherited = true, 
	AllowMultiple = false)]
public sealed class FromBodyAttribute : ParameterBindingAttribute

The FromBodyAttribute type exposes the following members.

  NameDescription
Public methodFromBodyAttributeInitializes a new instance of the FromBodyAttribute class.
Top
  NameDescription
Public propertyTypeId (Inherited from Attribute.)
Top
  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetBindingGets a parameter binding. (Overrides ParameterBindingAttribute.GetBinding(HttpParameterDescriptor).)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetationPrivate method_Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.Invoke (Inherited from Attribute.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.