ODataMessageWriterSettings.JsonPCallback Property
Gets or sets a callback function use to wrap the response from server.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Syntax
public string JsonPCallback {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
property String^ JsonPCallback {
[CompilerGeneratedAttribute]
String^ get();
[CompilerGeneratedAttribute]
void set(String^ value);
}
member JsonPCallback : string with get, set
Public Property JsonPCallback As String
Property Value
Type: System.String
The callback function used to wrap the response from server.
Remarks
If it has a value and we are writing a JSON response, then we will wrap the entirety of the response in the provided function name and parenthesis for JSONP. Otherwise this value is ignored.
See Also
ODataMessageWriterSettings Class
Microsoft.OData.Core Namespace
Return to top