Condividi tramite


Costruttore ODataMessageWriter (IODataResponseMessage, ODataMessageWriterSettings, IEdmModel)

Crea un nuovo oggetto ODataMessageWriter per il messaggio di risposta specificato e per le impostazioni del writer di messaggio.

Spazio dei nomi  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    responseMessage As IODataResponseMessage, _
    settings As ODataMessageWriterSettings, _
    model As IEdmModel _
)
'Utilizzo
Dim responseMessage As IODataResponseMessage
Dim settings As ODataMessageWriterSettings
Dim model As IEdmModel

Dim instance As New ODataMessageWriter(responseMessage, _
    settings, model)
public ODataMessageWriter(
    IODataResponseMessage responseMessage,
    ODataMessageWriterSettings settings,
    IEdmModel model
)
public:
ODataMessageWriter(
    IODataResponseMessage^ responseMessage, 
    ODataMessageWriterSettings^ settings, 
    IEdmModel^ model
)
new : 
        responseMessage:IODataResponseMessage * 
        settings:ODataMessageWriterSettings * 
        model:IEdmModel -> ODataMessageWriter
public function ODataMessageWriter(
    responseMessage : IODataResponseMessage, 
    settings : ODataMessageWriterSettings, 
    model : IEdmModel
)

Parametri

Vedere anche

Riferimento

ODataMessageWriter Classe

Overload ODataMessageWriter

Spazio dei nomi Microsoft.Data.OData