Specifies how the Web method return-type is serialized.
Syntax
CSharp
public enum ResponseFormat
VisualBasic
Public Enumeration ResponseFormat
ManagedCPlusPlus
public enum class ResponseFormat
JSharp
public enum ResponseFormat
Members
| Member | Description |
|---|
| Json | The return type is serialized as JavaScript Object Notation (JSON). |
| Xml | The return type is serialized as XML. |
Assembly: System.Web.Extensions (Module: System.Web.Extensions)