ODataMessageWriter Constructor (IODataResponseMessage, ODataMessageWriterSettings)
Creates a new ODataMessageWriter for the given response message and message writer settings.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
responseMessage As IODataResponseMessage, _
settings As ODataMessageWriterSettings _
)
'Usage
Dim responseMessage As IODataResponseMessage
Dim settings As ODataMessageWriterSettings
Dim instance As New ODataMessageWriter(responseMessage, _
settings)
public ODataMessageWriter(
IODataResponseMessage responseMessage,
ODataMessageWriterSettings settings
)
public:
ODataMessageWriter(
IODataResponseMessage^ responseMessage,
ODataMessageWriterSettings^ settings
)
new :
responseMessage:IODataResponseMessage *
settings:ODataMessageWriterSettings -> ODataMessageWriter
public function ODataMessageWriter(
responseMessage : IODataResponseMessage,
settings : ODataMessageWriterSettings
)
Parameters
- responseMessage
Type: Microsoft.Data.OData.IODataResponseMessage
The response message for which to create the writer.
- settings
Type: Microsoft.Data.OData.ODataMessageWriterSettings
The message writer settings to use for writing the message payload.