ODataMessageReader Constructor (IODataResponseMessage, ODataMessageReaderSettings)
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 _
)
'Usage
Dim responseMessage As IODataResponseMessage
Dim settings As ODataMessageReaderSettings
Dim instance As New ODataMessageReader(responseMessage, _
settings)
public ODataMessageReader(
IODataResponseMessage responseMessage,
ODataMessageReaderSettings settings
)
public:
ODataMessageReader(
IODataResponseMessage^ responseMessage,
ODataMessageReaderSettings^ settings
)
new :
responseMessage:IODataResponseMessage *
settings:ODataMessageReaderSettings -> ODataMessageReader
public function ODataMessageReader(
responseMessage : IODataResponseMessage,
settings : ODataMessageReaderSettings
)
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.