Export (0) Print
Expand All

DataServiceRequestArgs.AcceptContentType Property

Gets or sets the Accept header of the request message.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public string AcceptContentType { get; set; }

Property Value

Type: System.String
The value of the Accept header.

No validation is performed on the value of the AcceptContentType property. Therefore, make sure that the supplied value is a valid value for an HTTP Accept header.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft