WebContentFormat WebContentFormat WebContentFormat WebContentFormat Enum

定义

指定可将传入消息的内容类型映射到的消息格式。Specifies the message formats to which content types of incoming messages can be mapped.

public enum class WebContentFormat
public enum WebContentFormat
type WebContentFormat = 
Public Enum WebContentFormat
继承
WebContentFormatWebContentFormatWebContentFormatWebContentFormat

字段

Default Default Default Default 0

无法确定要映射到的格式。The format to map to cannot be determined.

Json Json Json Json 2

映射到 JSON 格式。Map to the JSON format.

Raw Raw Raw Raw 3

映射到“原始”二进制格式。Map to the "Raw" binary format.

Xml Xml Xml Xml 1

映射到 XML 格式。Map to the XML format.

注解

WebContentFormat 的值由 WebContentTypeMapper 的实例返回,指示将传入消息的内容类型映射到的格式。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.

适用于