Aracılığıyla paylaş


MessageEncoder.WriteMessageAsync Yöntem

Tanım

Aşırı Yüklemeler

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

WriteMessageAsync(Message, Stream)

Kaynak:
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

Parametreler

message
Message
stream
Stream

Döndürülenler

Şunlara uygulanır

WriteMessageAsync(Message, Int32, BufferManager, Int32)

Kaynak:
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))

Parametreler

message
Message
maxMessageSize
Int32
bufferManager
BufferManager
messageOffset
Int32

Döndürülenler

Şunlara uygulanır