Default constructor.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public LoginAsyncOP( string user, string password, EventHandler<EventArgs<IMAP_r_u>> callback )
Public Sub New ( user As String, password As String, callback As EventHandler(Of EventArgs(Of IMAP_r_u)) )
public: LoginAsyncOP( String^ user, String^ password, EventHandler<EventArgs<IMAP_r_u^>^>^ callback )
new : user : string * password : string * callback : EventHandler<EventArgs<IMAP_r_u>> -> LoginAsyncOP
Parameters
- user (String)
- User login name.
- password (String)
- User password.
- callback (EventHandler<(Of <(<'EventArgs<(Of <(<'IMAP_r_u>)>)>>)>)>)
- Optional callback to be called for each received untagged response.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when user or password 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