Share via


ODataMessageWriter Constructor (IODataRequestMessage, ODataMessageWriterSettings)

Creates a new ODataMessageWriter for the given request message and message writer settings.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub New ( _
    requestMessage As IODataRequestMessage, _
    settings As ODataMessageWriterSettings _
)
'Usage
Dim requestMessage As IODataRequestMessage 
Dim settings As ODataMessageWriterSettings 

Dim instance As New ODataMessageWriter(requestMessage, _
    settings)
public ODataMessageWriter(
    IODataRequestMessage requestMessage,
    ODataMessageWriterSettings settings
)
public:
ODataMessageWriter(
    IODataRequestMessage^ requestMessage, 
    ODataMessageWriterSettings^ settings
)
new : 
        requestMessage:IODataRequestMessage * 
        settings:ODataMessageWriterSettings -> ODataMessageWriter
public function ODataMessageWriter(
    requestMessage : IODataRequestMessage, 
    settings : ODataMessageWriterSettings
)

Parameters

See Also

Reference

ODataMessageWriter Class

ODataMessageWriter Overload

Microsoft.Data.OData Namespace