Share via


ODataFormat.CreateInputContextAsync Method

Definition

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.

Applies to