ODataBatchReaderExtensions.ReadOperationRequestAsync Method

 

Namespace:   System.Web.OData.Batch
Assembly:  System.Web.OData (in System.Web.OData.dll)

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static ReadOperationRequestAsync(ODataBatchReader, Guid, Boolean)

Reads an Operation request.

System_CAPS_pubmethodSystem_CAPS_static ReadOperationRequestAsync(ODataBatchReader, Guid, Boolean, CancellationToken)

Reads an Operation request.

See Also

ODataBatchReaderExtensions Class
System.Web.OData.Batch Namespace

Return to top

ODataBatchReaderExtensions.ReadOperationRequestAsync Method (ODataBatchReader, Guid, Boolean)

Reads an Operation request.

Syntax

public static Task<HttpRequestMessage> ReadOperationRequestAsync(
    this ODataBatchReader reader,
    Guid batchId,
    bool bufferContentStream
)
public:
[ExtensionAttribute]
static Task<HttpRequestMessage^>^ ReadOperationRequestAsync(
    ODataBatchReader^ reader,
    Guid batchId,
    bool bufferContentStream
)
static member ReadOperationRequestAsync : 
        reader:ODataBatchReader *
        batchId:Guid *
        bufferContentStream:bool -> Task<HttpRequestMessage>
<ExtensionAttribute>
Public Shared Function ReadOperationRequestAsync (
    reader As ODataBatchReader,
    batchId As Guid,
    bufferContentStream As Boolean
) As Task(Of HttpRequestMessage)

Parameters

  • bufferContentStream
    Type: System.Boolean

    if set to true then the request content stream will be buffered.

Return Value

Type: System.Threading.Tasks.Task<HttpRequestMessage>

A HttpRequestMessage representing the operation.

Return to top

ODataBatchReaderExtensions.ReadOperationRequestAsync Method (ODataBatchReader, Guid, Boolean, CancellationToken)

Reads an Operation request.

Syntax

public static Task<HttpRequestMessage> ReadOperationRequestAsync(
    this ODataBatchReader reader,
    Guid batchId,
    bool bufferContentStream,
    CancellationToken cancellationToken
)
public:
[ExtensionAttribute]
static Task<HttpRequestMessage^>^ ReadOperationRequestAsync(
    ODataBatchReader^ reader,
    Guid batchId,
    bool bufferContentStream,
    CancellationToken cancellationToken
)
static member ReadOperationRequestAsync : 
        reader:ODataBatchReader *
        batchId:Guid *
        bufferContentStream:bool *
        cancellationToken:CancellationToken -> Task<HttpRequestMessage>
<ExtensionAttribute>
Public Shared Function ReadOperationRequestAsync (
    reader As ODataBatchReader,
    batchId As Guid,
    bufferContentStream As Boolean,
    cancellationToken As CancellationToken
) As Task(Of HttpRequestMessage)

Parameters

  • bufferContentStream
    Type: System.Boolean

    if set to true then the request content stream will be buffered.

Return Value

Type: System.Threading.Tasks.Task<HttpRequestMessage>

A HttpRequestMessage representing the operation.

Return to top