Lire en anglais Modifier

Partager via


WebContentFormat Enum

Definition

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

public enum WebContentFormat
Inheritance
WebContentFormat

Fields

Name Value Description
Default 0

The format to map to cannot be determined.

Xml 1

Map to the XML format.

Json 2

Map to the JSON format.

Raw 3

Map to the "Raw" binary format.

Remarks

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.

Applies to

Produit Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1