Partilhar via


MessageEncoder.WriteMessageAsync Método

Definição

Sobrecargas

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

WriteMessageAsync(Message, Stream)

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

Parâmetros

message
Message
stream
Stream

Retornos

Aplica-se a

WriteMessageAsync(Message, Int32, BufferManager, Int32)

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

Parâmetros

message
Message
maxMessageSize
Int32
bufferManager
BufferManager
messageOffset
Int32

Retornos

Aplica-se a