ODataMessageExtensions.PreferenceAppliedHeader(IODataResponseMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage
.
public static Microsoft.OData.ODataPreferenceHeader PreferenceAppliedHeader (this Microsoft.OData.IODataResponseMessage responseMessage);
static member PreferenceAppliedHeader : Microsoft.OData.IODataResponseMessage -> Microsoft.OData.ODataPreferenceHeader
<Extension()>
Public Function PreferenceAppliedHeader (responseMessage As IODataResponseMessage) As ODataPreferenceHeader
Parameters
- responseMessage
- IODataResponseMessage
The response message to get or set the "Preference-Applied" header.
Returns
Returns the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage
.