Share via


ODataPreferenceHeader.RespondAsync Property

Definition

Property to get and set the "respond-async" preference to the "Prefer" header on the underlying IODataRequestMessage or the "Preference-Applied" header on the underlying IODataResponseMessage. Setting true sets the "respond-async" preference. Setting false clears the "respond-async" preference. Returns true if the "respond-async" preference is on the header. Otherwise returns false if the "respond-async" is not on the header.

public bool RespondAsync { get; set; }
member this.RespondAsync : bool with get, set
Public Property RespondAsync As Boolean

Property Value

Applies to