ResponseFormat ResponseFormat ResponseFormat ResponseFormat Enum

定义

指定如何对 Web 方法返回类型进行序列化。Specifies how the Web method return-type is serialized.

public enum class ResponseFormat
public enum ResponseFormat
type ResponseFormat = 
Public Enum ResponseFormat
继承
ResponseFormatResponseFormatResponseFormatResponseFormat

字段

Json Json Json Json 0

该返回类型将序列化为 JavaScript 对象符号 (JSON)。The return type is serialized as JavaScript Object Notation (JSON).

Xml Xml Xml Xml 1

该返回类型将序列化为 XML。The return type is serialized as XML.

适用于

另请参阅