LumiSoft Net Help
IMAP_Client..::..StoreMessageAsyncOP Constructor (folder, flags, internalDate, message, count, callback)
Namespaces ► LumiSoft.Net.IMAP.Client ► IMAP_Client..::..StoreMessageAsyncOP ► IMAP_Client..::..StoreMessageAsyncOP(String, IMAP_t_MsgFlags, DateTime, Stream, Int64, EventHandler<(Of <<'(EventArgs<(Of <<'(IMAP_r_u>)>>)>)>>))
Default constructor.
Declaration Syntax

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

    public StoreMessageAsyncOP(
    	string folder,
    	IMAP_t_MsgFlags flags,
    	DateTime internalDate,
    	Stream message,
    	long count,
    	EventHandler<EventArgs<IMAP_r_u>> callback
    )

    Public Sub New (
    	folder As String,
    	flags As IMAP_t_MsgFlags,
    	internalDate As DateTime,
    	message As Stream,
    	count As Long,
    	callback As EventHandler(Of EventArgs(Of IMAP_r_u))
    )

    public:
    StoreMessageAsyncOP(
    	String^ folder,
    	IMAP_t_MsgFlags^ flags,
    	DateTime internalDate,
    	Stream^ message,
    	long long count,
    	EventHandler<EventArgs<IMAP_r_u^>^>^ callback
    )

    new :
            folder : string *
            flags : IMAP_t_MsgFlags *
            internalDate : DateTime *
            message : Stream *
            count : int64 *
            callback : EventHandler<EventArgs<IMAP_r_u>> -> StoreMessageAsyncOP

Parameters

folder (String)
  Folder name with path.

flags (IMAP_t_MsgFlags)
  Message flags. Value null means no flags.

internalDate (DateTime)
  Message internal data. DateTime.MinValue means server will allocate it.

message (Stream)
  Message stream.

count (Int64)
  Number of bytes send from message stream.

callback (EventHandler<(Of <(<'EventArgs<(Of <(<'IMAP_r_u>)>)>>)>)>)
  Optional callback to be called for each received untagged response.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is riased when folder or message is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.

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