ODataFormat.CreateOutputContextAsync 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.
Creates an instance of the output context for this format.
public abstract System.Threading.Tasks.Task<Microsoft.OData.ODataOutputContext> CreateOutputContextAsync (Microsoft.OData.ODataMessageInfo messageInfo, Microsoft.OData.ODataMessageWriterSettings messageWriterSettings);
abstract member CreateOutputContextAsync : Microsoft.OData.ODataMessageInfo * Microsoft.OData.ODataMessageWriterSettings -> System.Threading.Tasks.Task<Microsoft.OData.ODataOutputContext>
Public MustOverride Function CreateOutputContextAsync (messageInfo As ODataMessageInfo, messageWriterSettings As ODataMessageWriterSettings) As Task(Of ODataOutputContext)
Parameters
- messageInfo
- ODataMessageInfo
The context information for the message.
- messageWriterSettings
- ODataMessageWriterSettings
Configuration settings of the OData writer.
Returns
Task which represents the pending create operation.