Partager via


Constructeur ODataMessageWriter (IODataResponseMessage, ODataMessageWriterSettings, IEdmModel)

Crée un nouvel ODataMessageWriter pour les paramètres de messages de réponse et d'enregistreur de message donnés.

Espace de noms :  Microsoft.Data.OData
Assembly :  Microsoft.Data.OData (en Microsoft.Data.OData.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    responseMessage As IODataResponseMessage, _
    settings As ODataMessageWriterSettings, _
    model As IEdmModel _
)
'Utilisation
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
)

Paramètres

Voir aussi

Référence

ODataMessageWriter Classe

Surcharge ODataMessageWriter

Espace de noms Microsoft.Data.OData