Share via


ODataFormat.CreateOutputContext Method

Definition

Creates an instance of the output context for this format.

public abstract Microsoft.OData.ODataOutputContext CreateOutputContext (Microsoft.OData.ODataMessageInfo messageInfo, Microsoft.OData.ODataMessageWriterSettings messageWriterSettings);
abstract member CreateOutputContext : Microsoft.OData.ODataMessageInfo * Microsoft.OData.ODataMessageWriterSettings -> Microsoft.OData.ODataOutputContext
Public MustOverride Function CreateOutputContext (messageInfo As ODataMessageInfo, messageWriterSettings As ODataMessageWriterSettings) As ODataOutputContext

Parameters

messageInfo
ODataMessageInfo

The context information for the message.

messageWriterSettings
ODataMessageWriterSettings

Configuration settings of the OData writer.

Returns

The newly created output context.

Applies to