Share via


ODataFormat.CreateOutputContextAsync Method

Definition

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.

Applies to