RequestOptions.ContentResponseOnWrite Property
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 or sets a value indicating whether written object should be returned back after write operations.
public:
property bool ContentResponseOnWrite { bool get(); void set(bool value); };
public bool ContentResponseOnWrite { get; set; }
member this.ContentResponseOnWrite : bool with get, set
Public Property ContentResponseOnWrite As Boolean
Property Value
The default value is false
.
Remarks
Indicates whether written object should be returned back after write operations like Create, Upsert, Patch, and Replace. Setting the option to false causes the response to have a null
item. This reduces networking and CPU load by not sending the resource back over the network and serializing it on the client.