MessageEncoder.ReadMessage Method (ArraySegment(Of Byte), BufferManager)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, reads a message from a specified buffer.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Function ReadMessage ( _ buffer As ArraySegment(Of Byte), _ bufferManager As BufferManager _ ) As Message
Parameters
- buffer
- Type: System.ArraySegment(Of Byte)
A ArraySegment(Of T) of type Byte that provides the buffer from which the message is deserialized.
- bufferManager
- Type: System.ServiceModel.Channels.BufferManager
The BufferManager that manages the buffer from which the message is deserialized.
Return Value
Type: System.ServiceModel.Channels.MessageThe Message that is read from the buffer specified.
Show: