Share via


OutgoingMessageBody Class

Definition

Represents the outgoing message body to be sent over the wire.

public sealed class OutgoingMessageBody : IDisposable, Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IOutgoingMessageBody
type OutgoingMessageBody = class
    interface IOutgoingMessageBody
    interface IDisposable
Public NotInheritable Class OutgoingMessageBody
Implements IDisposable, IOutgoingMessageBody
Inheritance
OutgoingMessageBody
Implements

Constructors

OutgoingMessageBody(IEnumerable<ArraySegment<Byte>>)

Initializes a new instance of the OutgoingMessageBody class. Creates OutgoingMessageBody with list of segments.

OutgoingMessageBody(IEnumerable<IPooledBuffer>)

Initializes a new instance of the OutgoingMessageBody class. Creates OutgoingMessageBody with list of pooled Buffers

Methods

Dispose()

Release the pooled Buffers if it has any.

GetSendBuffers()

Returns the Buffers to be sent over the wire.

Applies to