ODataMessageReader Constructor (IODataResponseMessage, ODataMessageReaderSettings, IEdmModel)
Creates a new ODataMessageReader for the given response message and message reader settings.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
responseMessage As IODataResponseMessage, _
settings As ODataMessageReaderSettings, _
model As IEdmModel _
)
'Usage
Dim responseMessage As IODataResponseMessage
Dim settings As ODataMessageReaderSettings
Dim model As IEdmModel
Dim instance As New ODataMessageReader(responseMessage, _
settings, model)
public ODataMessageReader(
IODataResponseMessage responseMessage,
ODataMessageReaderSettings settings,
IEdmModel model
)
public:
ODataMessageReader(
IODataResponseMessage^ responseMessage,
ODataMessageReaderSettings^ settings,
IEdmModel^ model
)
new :
responseMessage:IODataResponseMessage *
settings:ODataMessageReaderSettings *
model:IEdmModel -> ODataMessageReader
public function ODataMessageReader(
responseMessage : IODataResponseMessage,
settings : ODataMessageReaderSettings,
model : IEdmModel
)
Parameters
- responseMessage
Type: Microsoft.Data.OData.IODataResponseMessage
The response message for which to create the reader.
- settings
Type: Microsoft.Data.OData.ODataMessageReaderSettings
The message reader settings to use for reading the message payload.
- model
Type: Microsoft.Data.Edm.IEdmModel
The metadata provider to use.