ODataBatchReader.BuildOperationResponseMessage 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.
Instantiate an ODataBatchOperationResponseMessage instance and set the status code.
protected Microsoft.OData.ODataBatchOperationResponseMessage BuildOperationResponseMessage (Func<System.IO.Stream> streamCreatorFunc, int statusCode, Microsoft.OData.ODataBatchOperationHeaders headers, string contentId, string groupId);
member this.BuildOperationResponseMessage : Func<System.IO.Stream> * int * Microsoft.OData.ODataBatchOperationHeaders * string * string -> Microsoft.OData.ODataBatchOperationResponseMessage
Protected Function BuildOperationResponseMessage (streamCreatorFunc As Func(Of Stream), statusCode As Integer, headers As ODataBatchOperationHeaders, contentId As String, groupId As String) As ODataBatchOperationResponseMessage
Parameters
- statusCode
- Int32
The status code for the response.
- headers
- ODataBatchOperationHeaders
The headers for this response message.
- contentId
- String
The contentId of this request message.
- groupId
- String
The groupId of this request message.
Returns
The ODataBatchOperationResponseMessage instance.