WebContentFormat Enumeration
TOC
Collapse the table of content
Expand the table of content

WebContentFormat Enumeration

 

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

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

public enum WebContentFormat

Member nameDescription
Default

The format to map to cannot be determined.

Json

Map to the JSON format.

Raw

Map to the "Raw" binary format.

Xml

Map to the XML format.

A value of WebContentFormat is returned by an instance of WebContentTypeMapper to indicate the format to which the content type of an incoming message is mapped.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show:
© 2016 Microsoft