MessageEncoder.ReadMessageAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReadMessageAsync(ArraySegment<Byte>, BufferManager, String) | |
ReadMessageAsync(Stream, Int32, String) |
ReadMessageAsync(ArraySegment<Byte>, BufferManager, String)
- 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.