ODataBatchReaderExtensions.ReadChangeSetRequestAsync Method
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
ReadChangeSetRequestAsync(ODataBatchReader, Guid) | Reads a ChangeSet request. |
|
ReadChangeSetRequestAsync(ODataBatchReader, Guid, CancellationToken) | Reads a ChangeSet request. |
See Also
ODataBatchReaderExtensions Class
System.Web.OData.Batch Namespace
Return to top
ODataBatchReaderExtensions.ReadChangeSetRequestAsync Method (ODataBatchReader, Guid)
Reads a ChangeSet request.
Syntax
public static Task<IList<HttpRequestMessage>> ReadChangeSetRequestAsync(
this ODataBatchReader reader,
Guid batchId
)
public:
[ExtensionAttribute]
static Task<IList<HttpRequestMessage^>^>^ ReadChangeSetRequestAsync(
ODataBatchReader^ reader,
Guid batchId
)
static member ReadChangeSetRequestAsync :
reader:ODataBatchReader *
batchId:Guid -> Task<IList<HttpRequestMessage>>
<ExtensionAttribute>
Public Shared Function ReadChangeSetRequestAsync (
reader As ODataBatchReader,
batchId As Guid
) As Task(Of IList(Of HttpRequestMessage))
Parameters
reader
Type: Microsoft.OData.Core.ODataBatchReaderThe ODataBatchReader.
batchId
Type: System.GuidThe Batch Id.
Return Value
Type: System.Threading.Tasks.Task<IList<HttpRequestMessage>>
A collection of HttpRequestMessage in the ChangeSet.
Return to top
ODataBatchReaderExtensions.ReadChangeSetRequestAsync Method (ODataBatchReader, Guid, CancellationToken)
Reads a ChangeSet request.
Syntax
[DebuggerStepThroughAttribute]
public static Task<IList<HttpRequestMessage>> ReadChangeSetRequestAsync(
this ODataBatchReader reader,
Guid batchId,
CancellationToken cancellationToken
)
public:
[ExtensionAttribute]
[DebuggerStepThroughAttribute]
static Task<IList<HttpRequestMessage^>^>^ ReadChangeSetRequestAsync(
ODataBatchReader^ reader,
Guid batchId,
CancellationToken cancellationToken
)
[<DebuggerStepThroughAttribute>]
static member ReadChangeSetRequestAsync :
reader:ODataBatchReader *
batchId:Guid *
cancellationToken:CancellationToken -> Task<IList<HttpRequestMessage>>
<ExtensionAttribute>
<DebuggerStepThroughAttribute>
Public Shared Function ReadChangeSetRequestAsync (
reader As ODataBatchReader,
batchId As Guid,
cancellationToken As CancellationToken
) As Task(Of IList(Of HttpRequestMessage))
Parameters
reader
Type: Microsoft.OData.Core.ODataBatchReaderThe ODataBatchReader.
batchId
Type: System.GuidThe Batch Id.
cancellationToken
Type: System.Threading.CancellationTokenThe token to monitor for cancellation requests.
Return Value
Type: System.Threading.Tasks.Task<IList<HttpRequestMessage>>
A collection of HttpRequestMessage in the ChangeSet.
Return to top