MessageEncoder.ReadMessageAsync Method
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.
- 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
.NET 8 (package-provided)
Produit | Versions |
---|---|
.NET | 8 (package-provided) |
- 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
.NET 8 (package-provided)
Produit | Versions |
---|---|
.NET | 8 (package-provided) |
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :