Method | Description | |
---|---|---|
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void |
Serialises the object that was passed into the constructor to XML and writes the corresponding XML to the result stream.
|
|
XmlResult ( object objectToSerialize ) : System.Web.Mvc |
Creates a new instance of the XmlResult class.
|
|
XmlResult ( object objectToSerialize, |
Creates a new instance of the XMLResult class.
|
public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void | ||
context | System.Web.Mvc.ControllerContext | The controller context for the current request. |
return | void |
public XmlResult ( object objectToSerialize ) : System.Web.Mvc | ||
objectToSerialize | object | The object to serialize to XML. |
return | System.Web.Mvc |
public XmlResult ( object objectToSerialize, |
||
objectToSerialize | object | The object to serialize to XML. |
xmlAttributeOverrides | ||
return | System.Web.Mvc |