共用方式為


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
)

參數

請參閱

參考

ODataMessageReader 類別

ODataMessageReader 多載

Microsoft.Data.OData 命名空間