LumiSoft Net Help
SetEncodedData Method (contentTransferEncoding, stream)
Namespaces ► LumiSoft.Net.MIME ► MIME_b_SinglepartBase ► SetEncodedData(String, Stream)
Sets body encoded data from specified stream.
Declaration Syntax

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

    public void SetEncodedData(
    	string contentTransferEncoding,
    	Stream stream
    )

    Public Sub SetEncodedData (
    	contentTransferEncoding As String,
    	stream As Stream
    )

    public:
    void SetEncodedData(
    	String^ contentTransferEncoding,
    	Stream^ stream
    )

    member SetEncodedData :
            contentTransferEncoding : string *
            stream : Stream -> unit

Parameters

contentTransferEncoding (String)
  Content-Transfer-Encoding in what encoding stream data is.

stream (Stream)
  Stream data to add.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when contentTransferEncoding or stream is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
InvalidOperationException | Is raised when this method is accessed and this body is not bounded to any entity.

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