DataContractXmlActionResult Class

 

Represents an ActionResult that can render an object to the xml format using the DataContractSerializer.

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

System.Object
  System.Web.Mvc.ActionResult
    Microsoft.Web.Mvc.Resources.DataContractXmlActionResult

type DataContractXmlActionResult = 
    class
        inherit ActionResult
    end

NameDescription
System_CAPS_pubmethodDataContractXmlActionResult(Object)

Initializes a new instance of the DataContractXmlActionResult class. The content type of the response defaults to application/xml

System_CAPS_pubmethodDataContractXmlActionResult(Object, ContentType)

Initializes a new instance of the DataContractXmlActionResult class.

NameDescription
System_CAPS_pubpropertyContentType

Gets the content-type header.

System_CAPS_pubpropertyData

Gets the data for this DataContractXmlActionResult.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecuteResult(ControllerContext)

Enables processing of the result of an action method by a custom type that inherits from the ActionResult class.(Overrides ActionResult.ExecuteResult(ControllerContext).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: