Bearbeiten

Freigeben über


MessageEncoder.ReadMessageAsync Method

Definition

Overloads

ReadMessageAsync(ArraySegment<Byte>, BufferManager, String)
ReadMessageAsync(Stream, Int32, String)

ReadMessageAsync(ArraySegment<Byte>, BufferManager, String)

Source:
MessageEncoder.cs
Source:
MessageEncoder.cs
public:
 virtual System::Threading::Tasks::ValueTask<System::ServiceModel::Channels::Message ^> ReadMessageAsync(ArraySegment<System::Byte> buffer, System::ServiceModel::Channels::BufferManager ^ bufferManager, System::String ^ contentType);
public virtual System.Threading.Tasks.ValueTask<System.ServiceModel.Channels.Message> ReadMessageAsync (ArraySegment<byte> buffer, System.ServiceModel.Channels.BufferManager bufferManager, string contentType);
abstract member ReadMessageAsync : ArraySegment<byte> * System.ServiceModel.Channels.BufferManager * string -> System.Threading.Tasks.ValueTask<System.ServiceModel.Channels.Message>
override this.ReadMessageAsync : ArraySegment<byte> * System.ServiceModel.Channels.BufferManager * string -> System.Threading.Tasks.ValueTask<System.ServiceModel.Channels.Message>
Public Overridable Function ReadMessageAsync (buffer As ArraySegment(Of Byte), bufferManager As BufferManager, contentType As String) As ValueTask(Of Message)

Parameters

buffer
ArraySegment<Byte>
bufferManager
BufferManager
contentType
String

Returns

Applies to

ReadMessageAsync(Stream, Int32, String)

Source:
MessageEncoder.cs
Source:
MessageEncoder.cs
public:
 virtual System::Threading::Tasks::ValueTask<System::ServiceModel::Channels::Message ^> ReadMessageAsync(System::IO::Stream ^ stream, int maxSizeOfHeaders, System::String ^ contentType);
public virtual System.Threading.Tasks.ValueTask<System.ServiceModel.Channels.Message> ReadMessageAsync (System.IO.Stream stream, int maxSizeOfHeaders, string contentType);
abstract member ReadMessageAsync : System.IO.Stream * int * string -> System.Threading.Tasks.ValueTask<System.ServiceModel.Channels.Message>
override this.ReadMessageAsync : System.IO.Stream * int * string -> System.Threading.Tasks.ValueTask<System.ServiceModel.Channels.Message>
Public Overridable Function ReadMessageAsync (stream As Stream, maxSizeOfHeaders As Integer, contentType As String) As ValueTask(Of Message)

Parameters

stream
Stream
maxSizeOfHeaders
Int32
contentType
String

Returns

Applies to