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


OutgoingWebRequestContext.Accept Property

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

Gets and sets the Accept header value from the outgoing Web request.

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

Syntax

'Declaration
Public Property Accept As String
public string Accept { get; set; }

Property Value

Type: System.String
The Accept header from the outgoing Web request.

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.