ODataMessageReader 建構函式 (IODataRequestMessage, ODataMessageReaderSettings, IEdmModel)
為指定的要求訊息和訊息讀取器設定建立新的 ODataMessageReader。
命名空間: Microsoft.Data.OData
組件: Microsoft.Data.OData (在 Microsoft.Data.OData.dll 中)
語法
'宣告
Public Sub New ( _
requestMessage As IODataRequestMessage, _
settings As ODataMessageReaderSettings, _
model As IEdmModel _
)
'用途
Dim requestMessage As IODataRequestMessage
Dim settings As ODataMessageReaderSettings
Dim model As IEdmModel
Dim instance As New ODataMessageReader(requestMessage, _
settings, model)
public ODataMessageReader(
IODataRequestMessage requestMessage,
ODataMessageReaderSettings settings,
IEdmModel model
)
public:
ODataMessageReader(
IODataRequestMessage^ requestMessage,
ODataMessageReaderSettings^ settings,
IEdmModel^ model
)
new :
requestMessage:IODataRequestMessage *
settings:ODataMessageReaderSettings *
model:IEdmModel -> ODataMessageReader
public function ODataMessageReader(
requestMessage : IODataRequestMessage,
settings : ODataMessageReaderSettings,
model : IEdmModel
)
參數
- requestMessage
型別:Microsoft.Data.OData.IODataRequestMessage
要為其建立讀取器的要求訊息。
- settings
型別:Microsoft.Data.OData.ODataMessageReaderSettings
要用於讀取訊息裝載的訊息讀取器設定。
- model
型別:Microsoft.Data.Edm.IEdmModel
要使用的中繼資料提供者。