Share via


ODataBatchWriter.CreateOperationRequestMessage Method

Definition

Overloads

CreateOperationRequestMessage(String, Uri, String)

Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request.

CreateOperationRequestMessage(String, Uri, String, BatchPayloadUriOption)

Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request.

CreateOperationRequestMessage(String, Uri, String, BatchPayloadUriOption, IEnumerable<String>)

Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request.

CreateOperationRequestMessage(String, Uri, String)

Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request.

public Microsoft.OData.ODataBatchOperationRequestMessage CreateOperationRequestMessage (string method, Uri uri, string contentId);
member this.CreateOperationRequestMessage : string * Uri * string -> Microsoft.OData.ODataBatchOperationRequestMessage
Public Function CreateOperationRequestMessage (method As String, uri As Uri, contentId As String) As ODataBatchOperationRequestMessage

Parameters

method
String

The Http method to be used for this request operation.

uri
Uri

The Uri to be used for this request operation.

contentId
String

The Content-ID value to write in ChangeSet header, would be ignored if method is "GET".

Returns

The message that can be used to write the request operation.

Applies to

CreateOperationRequestMessage(String, Uri, String, BatchPayloadUriOption)

Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request.

public Microsoft.OData.ODataBatchOperationRequestMessage CreateOperationRequestMessage (string method, Uri uri, string contentId, Microsoft.OData.BatchPayloadUriOption payloadUriOption);
member this.CreateOperationRequestMessage : string * Uri * string * Microsoft.OData.BatchPayloadUriOption -> Microsoft.OData.ODataBatchOperationRequestMessage
Public Function CreateOperationRequestMessage (method As String, uri As Uri, contentId As String, payloadUriOption As BatchPayloadUriOption) As ODataBatchOperationRequestMessage

Parameters

method
String

The Http method to be used for this request operation.

uri
Uri

The Uri to be used for this request operation.

contentId
String

The Content-ID value to write in ChangeSet header, would be ignored if method is "GET".

payloadUriOption
BatchPayloadUriOption

The format of operation Request-URI, which could be AbsoluteUri, AbsoluteResourcePathAndHost, or RelativeResourcePath.

Returns

The message that can be used to write the request operation.

Applies to

CreateOperationRequestMessage(String, Uri, String, BatchPayloadUriOption, IEnumerable<String>)

Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request.

public Microsoft.OData.ODataBatchOperationRequestMessage CreateOperationRequestMessage (string method, Uri uri, string contentId, Microsoft.OData.BatchPayloadUriOption payloadUriOption, System.Collections.Generic.IEnumerable<string> dependsOnIds);
member this.CreateOperationRequestMessage : string * Uri * string * Microsoft.OData.BatchPayloadUriOption * seq<string> -> Microsoft.OData.ODataBatchOperationRequestMessage
Public Function CreateOperationRequestMessage (method As String, uri As Uri, contentId As String, payloadUriOption As BatchPayloadUriOption, dependsOnIds As IEnumerable(Of String)) As ODataBatchOperationRequestMessage

Parameters

method
String

The Http method to be used for this request operation.

uri
Uri

The Uri to be used for this request operation.

contentId
String

The Content-ID value to write in ChangeSet header, would be ignored if method is "GET".

payloadUriOption
BatchPayloadUriOption

The format of operation Request-URI, which could be AbsoluteUri, AbsoluteResourcePathAndHost, or RelativeResourcePath.

dependsOnIds
IEnumerable<String>

The prerequisite request ids of this request.

Returns

The message that can be used to write the request operation.

Applies to