ODataFormat.CreateInputContextAsync 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.
Asynchronously creates an instance of the input context for this format.
public abstract System.Threading.Tasks.Task<Microsoft.OData.ODataInputContext> CreateInputContextAsync (Microsoft.OData.ODataMessageInfo messageInfo, Microsoft.OData.ODataMessageReaderSettings messageReaderSettings);
abstract member CreateInputContextAsync : Microsoft.OData.ODataMessageInfo * Microsoft.OData.ODataMessageReaderSettings -> System.Threading.Tasks.Task<Microsoft.OData.ODataInputContext>
Public MustOverride Function CreateInputContextAsync (messageInfo As ODataMessageInfo, messageReaderSettings As ODataMessageReaderSettings) As Task(Of ODataInputContext)
Parameters
- messageInfo
- ODataMessageInfo
The context information for the message.
- messageReaderSettings
- ODataMessageReaderSettings
Configuration settings of the OData reader.
Returns
Task which when completed returned the newly created input context.