MessageEncoder.WriteMessageAsync Method

Definition

Overloads

WriteMessageAsync(Message, Stream)

Source:
MessageEncoder.cs
Source:
MessageEncoder.cs
public virtual System.Threading.Tasks.ValueTask WriteMessageAsync (System.ServiceModel.Channels.Message message, System.IO.Stream stream);

Parameters

message
Message
stream
Stream

Returns

Applies to

.NET 8 (package-provided)
Product Versions
.NET 8 (package-provided)

WriteMessageAsync(Message, Int32, BufferManager, Int32)

Source:
MessageEncoder.cs
Source:
MessageEncoder.cs
public virtual System.Threading.Tasks.ValueTask<ArraySegment<byte>> WriteMessageAsync (System.ServiceModel.Channels.Message message, int maxMessageSize, System.ServiceModel.Channels.BufferManager bufferManager, int messageOffset);

Parameters

message
Message
maxMessageSize
Int32
bufferManager
BufferManager
messageOffset
Int32

Returns

Applies to

.NET 8 (package-provided)
Product Versions
.NET 8 (package-provided)