LumiSoft Net Help
CreateEntity_Text_Html Method (transferEncoding, charset, text)
Namespaces ► LumiSoft.Net.MIME ► MIME_Entity ► CreateEntity_Text_Html(String, Encoding, String)
Creates text/html MIME entity.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public static MIME_Entity CreateEntity_Text_Html(
    	string transferEncoding,
    	Encoding charset,
    	string text
    )

    Public Shared Function CreateEntity_Text_Html (
    	transferEncoding As String,
    	charset As Encoding,
    	text As String
    ) As MIME_Entity

    public:
    static MIME_Entity^ CreateEntity_Text_Html(
    	String^ transferEncoding,
    	Encoding^ charset,
    	String^ text
    )

    static member CreateEntity_Text_Html :
            transferEncoding : string *
            charset : Encoding *
            text : string -> MIME_Entity

Parameters

transferEncoding (String)
  Content transfer encoding.

charset (Encoding)
  Charset to use to encode text. If not sure, utf-8 is recommended.

text (String)
  Text.

Return Value
MIME_Entity
Returns created entity.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when transferEncoding, charset or text is null reference.
NotSupportedException | Is raised when body contains not supported Content-Transfer-Encoding.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119