Stores MIME entity body to the specified stream.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
protected internal override void ToStream( Stream stream, MIME_Encoding_EncodedWord headerWordEncoder, Encoding headerParmetersCharset, bool headerReencode )
Protected Friend Overrides Sub ToStream ( stream As Stream, headerWordEncoder As MIME_Encoding_EncodedWord, headerParmetersCharset As Encoding, headerReencode As Boolean )
protected public: virtual void ToStream( Stream^ stream, MIME_Encoding_EncodedWord^ headerWordEncoder, Encoding^ headerParmetersCharset, bool headerReencode ) override
abstract ToStream : stream : Stream * headerWordEncoder : MIME_Encoding_EncodedWord * headerParmetersCharset : Encoding * headerReencode : bool -> unit override ToStream : stream : Stream * headerWordEncoder : MIME_Encoding_EncodedWord * headerParmetersCharset : Encoding * headerReencode : bool -> unit
Parameters
- stream (Stream)
- Stream where to store body data.
- headerWordEncoder (MIME_Encoding_EncodedWord)
- Header 8-bit words ecnoder. Value null means that words are not encoded.
- headerParmetersCharset (Encoding)
- Charset to use to encode 8-bit header parameters. Value null means parameters not encoded.
- headerReencode (Boolean)
- If true always specified encoding is used for header. If false and header field value not modified, original encoding is kept.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when stream is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119