ODataMessageReader 建構函式 (IODataResponseMessage, ODataMessageReaderSettings)
為指定的回應訊息和訊息讀取器設定建立新的 ODataMessageReader。
命名空間: Microsoft.Data.OData
組件: Microsoft.Data.OData (在 Microsoft.Data.OData.dll 中)
語法
'宣告
Public Sub New ( _
responseMessage As IODataResponseMessage, _
settings As ODataMessageReaderSettings _
)
'用途
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
)
參數
- responseMessage
型別:Microsoft.Data.OData.IODataResponseMessage
要為其建立讀取器的回應訊息。
- settings
型別:Microsoft.Data.OData.ODataMessageReaderSettings
要用於讀取訊息裝載的訊息讀取器設定。