ODataFormat.CreateOutputContext 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 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.