WebInvokeAttribute.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 possible values are Xml and Json, however Json is not supported in this 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.