WebContentFormat Enumeration

Specifies the message formats to which content types of incoming messages can be mapped.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.Web.Extensions (in System.ServiceModel.Web.Extensions.dll)

Syntax

'Declaration
Public Enumeration WebContentFormat
public enum WebContentFormat

Members

Member name Description
Default The format to map to cannot be determined.
Xml Map to the XML format.
Json Map to the JSON format.
Raw Map to the "Raw" binary format.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.