The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
JsonMediaTypeFormatter::ReadFromStream Method (Type^, Stream^, Encoding^, IFormatterLogger^)
Called during deserialization to read an object of the specified type from the specified stream.
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
public: virtual Object^ ReadFromStream( Type^ type, Stream^ readStream, Encoding^ effectiveEncoding, IFormatterLogger^ formatterLogger ) override
Parameters
- type
-
Type:
System::Type^
The type of the object to read.
- readStream
-
Type:
System.IO::Stream^
The stream from which to read.
- effectiveEncoding
-
Type:
System.Text::Encoding^
The encoding to use when reading.
- formatterLogger
-
Type:
System.Net.Http.Formatting::IFormatterLogger^
The logger to log events to.
Show: