WebContentFormat 列舉

定義

指定傳入訊息之內容型別可以對應的訊息格式。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
繼承
WebContentFormat

欄位

Default 0

無法判斷要對應的格式。The format to map to cannot be determined.

Json 2

對應至 JSON 格式。Map to the JSON format.

Raw 3

對應至「原始」二進位格式。Map to the "Raw" binary format.

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.

適用於