다음을 통해 공유


WebGetAttribute.ResponseFormat Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets and sets the ResponseFormat property.

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

Syntax

'Declaration
Public Property ResponseFormat As WebMessageFormat
public WebMessageFormat ResponseFormat { get; set; }

Property Value

Type: System.ServiceModel.Web.WebMessageFormat
One of the WebMessageFormat enumeration values.

Remarks

This property determines the format of responses that can be sent by an operation. The two possible values are Xml and Json, however Json is not supported in the current release.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.