ODataBatchReader.BuildOperationRequestMessage 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 ODataBatchOperationRequestMessage instance.
protected Microsoft.OData.ODataBatchOperationRequestMessage BuildOperationRequestMessage (Func<System.IO.Stream> streamCreatorFunc, string method, Uri requestUri, Microsoft.OData.ODataBatchOperationHeaders headers, string contentId, string groupId, System.Collections.Generic.IEnumerable<string> dependsOnRequestIds, bool dependsOnIdsValidationRequired);
member this.BuildOperationRequestMessage : Func<System.IO.Stream> * string * Uri * Microsoft.OData.ODataBatchOperationHeaders * string * string * seq<string> * bool -> Microsoft.OData.ODataBatchOperationRequestMessage
Protected Function BuildOperationRequestMessage (streamCreatorFunc As Func(Of Stream), method As String, requestUri As Uri, headers As ODataBatchOperationHeaders, contentId As String, groupId As String, dependsOnRequestIds As IEnumerable(Of String), dependsOnIdsValidationRequired As Boolean) As ODataBatchOperationRequestMessage
Parameters
- method
- String
The HTTP method used for this request message.
- requestUri
- Uri
The request Url for this request message.
- headers
- ODataBatchOperationHeaders
The headers for this request message.
- contentId
- String
The contentId of this request message.
- groupId
- String
The group id that this request belongs to. Can be null.
- dependsOnRequestIds
- IEnumerable<String>
The prerequisite request Ids of this request message that could be specified by caller explicitly.
- dependsOnIdsValidationRequired
- Boolean
Whether the dependsOnIds
value needs to be validated.
Returns
The ODataBatchOperationRequestMessage instance.