This documentation is archived and is not being maintained.

ResponseFormat Enumeration

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
JsonThe return type is serialized as JavaScript Object Notation (JSON).
XmlThe return type is serialized as XML.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5