Partager via


MessageEncoder.WriteMessageAsync Méthode

Définition

Surcharges

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

WriteMessageAsync(Message, Stream)

Source:
MessageEncoder.cs
Source:
MessageEncoder.cs
Source:
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

Paramètres

message
Message
stream
Stream

Retours

S’applique à

WriteMessageAsync(Message, Int32, BufferManager, Int32)

Source:
MessageEncoder.cs
Source:
MessageEncoder.cs
Source:
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))

Paramètres

message
Message
maxMessageSize
Int32
bufferManager
BufferManager
messageOffset
Int32

Retours

S’applique à