Parses MIME entity body from specified stream.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public MIME_b Parse( MIME_Entity owner, SmartStream stream, MIME_h_ContentType defaultContentType )
Public Function Parse ( owner As MIME_Entity, stream As SmartStream, defaultContentType As MIME_h_ContentType ) As MIME_b
public: MIME_b^ Parse( MIME_Entity^ owner, SmartStream^ stream, MIME_h_ContentType^ defaultContentType )
member Parse : owner : MIME_Entity * stream : SmartStream * defaultContentType : MIME_h_ContentType -> MIME_b
Parameters
- owner (MIME_Entity)
- Owner MIME entity.
- stream (SmartStream)
- Stream from where to parse entity body.
- defaultContentType (MIME_h_ContentType)
- Default content type.
Return Value
MIME_b
Returns parsed body.
Returns parsed body.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when owner, strean or defaultContentType is null reference. |
ParseException | Is raised when header field parsing errors. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119