LumiSoft Net Help
SetData Method (stream, transferEncoding)
Namespaces ► LumiSoft.Net.MIME ► MIME_b_SinglepartBase ► SetData(Stream, String)
Sets body data from the specified stream.
Declaration Syntax

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

    public void SetData(
    	Stream stream,
    	string transferEncoding
    )

    Public Sub SetData (
    	stream As Stream,
    	transferEncoding As String
    )

    public:
    void SetData(
    	Stream^ stream,
    	String^ transferEncoding
    )

    member SetData :
            stream : Stream *
            transferEncoding : string -> unit

Parameters

stream (Stream)
  Source stream.

transferEncoding (String)
  Specifies content-transfer-encoding to use to encode data.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when stream or transferEncoding is null reference.
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