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 |
Initializes 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 |