共用方式為


MessageEncoder.WriteMessageAsync 方法

定義

多載

WriteMessageAsync(Message, Stream)
WriteMessageAsync(Message, Int32, BufferManager, Int32)

WriteMessageAsync(Message, Stream)

來源:
MessageEncoder.cs
來源:
MessageEncoder.cs
來源:
MessageEncoder.cs
public:
 virtual System::Threading::Tasks::ValueTask WriteMessageAsync(System::ServiceModel::Channels::Message ^ message, System::IO::Stream ^ stream);
public virtual System.Threading.Tasks.ValueTask WriteMessageAsync (System.ServiceModel.Channels.Message message, System.IO.Stream stream);
abstract member WriteMessageAsync : System.ServiceModel.Channels.Message * System.IO.Stream -> System.Threading.Tasks.ValueTask
override this.WriteMessageAsync : System.ServiceModel.Channels.Message * System.IO.Stream -> System.Threading.Tasks.ValueTask
Public Overridable Function WriteMessageAsync (message As Message, stream As Stream) As ValueTask

參數

message
Message
stream
Stream

傳回

適用於

WriteMessageAsync(Message, Int32, BufferManager, Int32)

來源:
MessageEncoder.cs
來源:
MessageEncoder.cs
來源:
MessageEncoder.cs
public:
 virtual System::Threading::Tasks::ValueTask<ArraySegment<System::Byte>> WriteMessageAsync(System::ServiceModel::Channels::Message ^ message, int maxMessageSize, System::ServiceModel::Channels::BufferManager ^ bufferManager, int messageOffset);
public virtual System.Threading.Tasks.ValueTask<ArraySegment<byte>> WriteMessageAsync (System.ServiceModel.Channels.Message message, int maxMessageSize, System.ServiceModel.Channels.BufferManager bufferManager, int messageOffset);
abstract member WriteMessageAsync : System.ServiceModel.Channels.Message * int * System.ServiceModel.Channels.BufferManager * int -> System.Threading.Tasks.ValueTask<ArraySegment<byte>>
override this.WriteMessageAsync : System.ServiceModel.Channels.Message * int * System.ServiceModel.Channels.BufferManager * int -> System.Threading.Tasks.ValueTask<ArraySegment<byte>>
Public Overridable Function WriteMessageAsync (message As Message, maxMessageSize As Integer, bufferManager As BufferManager, messageOffset As Integer) As ValueTask(Of ArraySegment(Of Byte))

參數

message
Message
maxMessageSize
Int32
bufferManager
BufferManager
messageOffset
Int32

傳回

適用於