Parses body from the specified stream
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
protected static MIME_b Parse( MIME_Entity owner, MIME_h_ContentType defaultContentType, SmartStream stream )
Protected Shared Function Parse ( owner As MIME_Entity, defaultContentType As MIME_h_ContentType, stream As SmartStream ) As MIME_b
protected: static MIME_b^ Parse( MIME_Entity^ owner, MIME_h_ContentType^ defaultContentType, SmartStream^ stream )
static member Parse : owner : MIME_Entity * defaultContentType : MIME_h_ContentType * stream : SmartStream -> MIME_b
![](../icons/collapse_all.gif)
- owner (MIME_Entity)
- Owner MIME entity.
- defaultContentType (MIME_h_ContentType)
- Default content-type for this body.
- stream (SmartStream)
- Stream from where to read body.
![](../icons/collapse_all.gif)
MIME_b
Returns parsed body.
Returns parsed body.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | Is raised when stream, mediaTypedefaultContentTypeb> or stream is null reference. |
ParseException | Is raised when any parsing errors. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119