XmlFormatHandler Class
Represents the XML mechanism for serializing request in additional formats.
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | XmlFormatHandler() | Initializes a new instance of the XmlFormatHandler class. |
| Name | Description | |
|---|---|---|
![]() | FriendlyName | Gets the preferred friendly name for the handled format. |
| Name | Description | |
|---|---|---|
![]() | CanDeserialize(ContentType) | Returns true if the specified request format can be deserialized. |
![]() | CanSerialize(ContentType) | Returns true if the specified response format can be serialized. |
![]() | Deserialize(ControllerContext, ModelBindingContext, ContentType) | Deserialize the object model into the response body in the specified request format. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsCompatibleMediaType(String) | Returns true if the object is compatible to the media type. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Serialize(ControllerContext, Object, ContentType) | Serialize the model into the response body in the specified response format. |
![]() | ToString() | (Inherited from Object.) |
![]() | TryMapFormatFriendlyName(String, ContentType) | Returns true if the specified friendly name ('xml' for instance) can be mapped to a content type ('application/xml' for instance). If the mapping can be performed return the content type that the friendlyName maps to. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


