Share via


ODataMessageWriter Constructors

Definition

Overloads

ODataMessageWriter(IODataRequestMessage)

Creates a new ODataMessageWriter for the given request message.

ODataMessageWriter(IODataResponseMessage)

Creates a new ODataMessageWriter for the given response message.

ODataMessageWriter(IODataRequestMessage, ODataMessageWriterSettings)

Creates a new ODataMessageWriter for the given request message and message writer settings.

ODataMessageWriter(IODataResponseMessage, ODataMessageWriterSettings)

Creates a new ODataMessageWriter for the given response message and message writer settings.

ODataMessageWriter(IODataRequestMessage, ODataMessageWriterSettings, IEdmModel)

Creates a new ODataMessageWriter for the given request message and message writer settings.

ODataMessageWriter(IODataResponseMessage, ODataMessageWriterSettings, IEdmModel)

Creates a new ODataMessageWriter for the given response message and message writer settings.

ODataMessageWriter(IODataRequestMessage)

Creates a new ODataMessageWriter for the given request message.

public ODataMessageWriter (Microsoft.OData.IODataRequestMessage requestMessage);
new Microsoft.OData.ODataMessageWriter : Microsoft.OData.IODataRequestMessage -> Microsoft.OData.ODataMessageWriter
Public Sub New (requestMessage As IODataRequestMessage)

Parameters

requestMessage
IODataRequestMessage

The request message for which to create the writer.

Applies to

ODataMessageWriter(IODataResponseMessage)

Creates a new ODataMessageWriter for the given response message.

public ODataMessageWriter (Microsoft.OData.IODataResponseMessage responseMessage);
new Microsoft.OData.ODataMessageWriter : Microsoft.OData.IODataResponseMessage -> Microsoft.OData.ODataMessageWriter
Public Sub New (responseMessage As IODataResponseMessage)

Parameters

responseMessage
IODataResponseMessage

The response message for which to create the writer.

Applies to

ODataMessageWriter(IODataRequestMessage, ODataMessageWriterSettings)

Creates a new ODataMessageWriter for the given request message and message writer settings.

public ODataMessageWriter (Microsoft.OData.IODataRequestMessage requestMessage, Microsoft.OData.ODataMessageWriterSettings settings);
new Microsoft.OData.ODataMessageWriter : Microsoft.OData.IODataRequestMessage * Microsoft.OData.ODataMessageWriterSettings -> Microsoft.OData.ODataMessageWriter
Public Sub New (requestMessage As IODataRequestMessage, settings As ODataMessageWriterSettings)

Parameters

requestMessage
IODataRequestMessage

The request message for which to create the writer.

settings
ODataMessageWriterSettings

The message writer settings to use for writing the message payload.

Applies to

ODataMessageWriter(IODataResponseMessage, ODataMessageWriterSettings)

Creates a new ODataMessageWriter for the given response message and message writer settings.

public ODataMessageWriter (Microsoft.OData.IODataResponseMessage responseMessage, Microsoft.OData.ODataMessageWriterSettings settings);
new Microsoft.OData.ODataMessageWriter : Microsoft.OData.IODataResponseMessage * Microsoft.OData.ODataMessageWriterSettings -> Microsoft.OData.ODataMessageWriter
Public Sub New (responseMessage As IODataResponseMessage, settings As ODataMessageWriterSettings)

Parameters

responseMessage
IODataResponseMessage

The response message for which to create the writer.

settings
ODataMessageWriterSettings

The message writer settings to use for writing the message payload.

Applies to

ODataMessageWriter(IODataRequestMessage, ODataMessageWriterSettings, IEdmModel)

Creates a new ODataMessageWriter for the given request message and message writer settings.

public ODataMessageWriter (Microsoft.OData.IODataRequestMessage requestMessage, Microsoft.OData.ODataMessageWriterSettings settings, Microsoft.OData.Edm.IEdmModel model);
new Microsoft.OData.ODataMessageWriter : Microsoft.OData.IODataRequestMessage * Microsoft.OData.ODataMessageWriterSettings * Microsoft.OData.Edm.IEdmModel -> Microsoft.OData.ODataMessageWriter
Public Sub New (requestMessage As IODataRequestMessage, settings As ODataMessageWriterSettings, model As IEdmModel)

Parameters

requestMessage
IODataRequestMessage

The request message for which to create the writer.

settings
ODataMessageWriterSettings

The message writer settings to use for writing the message payload.

model
IEdmModel

The model to use.

Applies to

ODataMessageWriter(IODataResponseMessage, ODataMessageWriterSettings, IEdmModel)

Creates a new ODataMessageWriter for the given response message and message writer settings.

public ODataMessageWriter (Microsoft.OData.IODataResponseMessage responseMessage, Microsoft.OData.ODataMessageWriterSettings settings, Microsoft.OData.Edm.IEdmModel model);
new Microsoft.OData.ODataMessageWriter : Microsoft.OData.IODataResponseMessage * Microsoft.OData.ODataMessageWriterSettings * Microsoft.OData.Edm.IEdmModel -> Microsoft.OData.ODataMessageWriter
Public Sub New (responseMessage As IODataResponseMessage, settings As ODataMessageWriterSettings, model As IEdmModel)

Parameters

responseMessage
IODataResponseMessage

The response message for which to create the writer.

settings
ODataMessageWriterSettings

The message writer settings to use for writing the message payload.

model
IEdmModel

The model to use.

Applies to