ResponseFormat Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies how the Web method return-type is serialized.

Namespace:   System.Web.Script.Services
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public enum ResponseFormat

Member nameDescription
Json

The return type is serialized as JavaScript Object Notation (JSON).

Xml

The return type is serialized as XML.

.NET Framework
Available since 3.5
Return to top
Show: