ODataBatchReaderExtensions.ReadOperationRequestAsync Method
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
ReadOperationRequestAsync(ODataBatchReader, Guid, Boolean) | Reads an Operation request. |
|
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
reader
Type: Microsoft.OData.Core.ODataBatchReaderThe ODataBatchReader.
batchId
Type: System.GuidThe Batch ID.
bufferContentStream
Type: System.Booleanif 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
reader
Type: Microsoft.OData.Core.ODataBatchReaderThe ODataBatchReader.
batchId
Type: System.GuidThe Batch ID.
bufferContentStream
Type: System.Booleanif set to true then the request content stream will be buffered.
cancellationToken
Type: System.Threading.CancellationTokenThe token to monitor for cancellation requests.
Return Value
Type: System.Threading.Tasks.Task<HttpRequestMessage>
A HttpRequestMessage representing the operation.
Return to top