RequestOptions.ContentResponseOnWrite Property

Definition

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.

Applies to