Поделиться через


WebGetAttribute.RequestFormat Property

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

Gets and sets the RequestFormat property.

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

Syntax

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

Property Value

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

Remarks

This property determines the format of requests made to 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.