使用英语阅读

通过


MessageEncoder.WriteMessageAsync 方法

定义

重载

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);

参数

message
Message
stream
Stream

返回

适用于

.NET 8 (package-provided)
产品 版本
.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);

参数

message
Message
maxMessageSize
Int32
bufferManager
BufferManager
messageOffset
Int32

返回

适用于

.NET 8 (package-provided)
产品 版本
.NET 8 (package-provided)