ODataBatchWriter.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.
Wrapper method to create an operation request message that can be used to write the operation content to, utilizing private members Microsoft.OData.ODataBatchPayloadUriConverter and IServiceProvider.
protected Microsoft.OData.ODataBatchOperationRequestMessage BuildOperationRequestMessage (System.IO.Stream outputStream, string method, Uri uri, string contentId, string groupId, System.Collections.Generic.IEnumerable<string> dependsOnIds);
member this.BuildOperationRequestMessage : System.IO.Stream * string * Uri * string * string * seq<string> -> Microsoft.OData.ODataBatchOperationRequestMessage
Protected Function BuildOperationRequestMessage (outputStream As Stream, method As String, uri As Uri, contentId As String, groupId As String, dependsOnIds As IEnumerable(Of String)) As ODataBatchOperationRequestMessage
Parameters
- outputStream
- Stream
The output stream underlying the operation message.
- method
- String
The HTTP method to use for the message to create.
- uri
- Uri
The request URL for the message to create.
- contentId
- String
The contentId of this request message.
- groupId
- String
The group id that this request belongs to. Can be null.
- dependsOnIds
- IEnumerable<String>
The prerequisite request ids of this request.
Returns
An ODataBatchOperationRequestMessage to write the request content to.