Share via


ODataMessageInfo Class

Definition

Class provides context information of certain IODataRequestMessage or IODataResponseMessage

public sealed class ODataMessageInfo
type ODataMessageInfo = class
Public NotInheritable Class ODataMessageInfo
Inheritance
ODataMessageInfo

Constructors

ODataMessageInfo()

Properties

Container

The optional dependency injection container to get related services for message writing.

Encoding

The encoding specified in the charset parameter of contentType or the default encoding from MediaType.

IsAsync

Whether the message should be read or written asynchronously.

IsResponse

Whether is dealing with response.

MediaType

The parsed content type as ODataMediaType.

MessageStream

The message stream created by GetMessageStream or GetMessageAsync.

Model

The IEdmModel for the payload.

PayloadUriConverter

The optional URL converter to perform custom URL conversion for URLs read from the payload.

Applies to