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)
'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
)
- requestMessage
Type: Microsoft.Data.OData.IODataRequestMessage
The request message for which to create the writer.
- settings
Type: Microsoft.Data.OData.ODataMessageWriterSettings
The message writer settings to use for writing the message payload.