ODataMessageWriter Constructor (IODataRequestMessage, ODataMessageWriterSettings, IEdmModel)
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, _
model As IEdmModel _
)
'Usage
Dim requestMessage As IODataRequestMessage
Dim settings As ODataMessageWriterSettings
Dim model As IEdmModel
Dim instance As New ODataMessageWriter(requestMessage, _
settings, model)
public ODataMessageWriter(
IODataRequestMessage requestMessage,
ODataMessageWriterSettings settings,
IEdmModel model
)
public:
ODataMessageWriter(
IODataRequestMessage^ requestMessage,
ODataMessageWriterSettings^ settings,
IEdmModel^ model
)
new :
requestMessage:IODataRequestMessage *
settings:ODataMessageWriterSettings *
model:IEdmModel -> ODataMessageWriter
public function ODataMessageWriter(
requestMessage : IODataRequestMessage,
settings : ODataMessageWriterSettings,
model : IEdmModel
)
Parameters
- 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.
- model
Type: Microsoft.Data.Edm.IEdmModel
The metadata provider to use.