Starts sending AUTHENTICATE command to IMAP server.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public bool AuthenticateAsync( IMAP_Client..::..AuthenticateAsyncOP op )
Public Function AuthenticateAsync ( op As IMAP_Client..::..AuthenticateAsyncOP ) As Boolean
public: bool AuthenticateAsync( IMAP_Client..::..AuthenticateAsyncOP^ op )
member AuthenticateAsync : op : IMAP_Client..::..AuthenticateAsyncOP -> bool
Parameters
- op (IMAP_Client..::..AuthenticateAsyncOP)
- Asynchronous operation.
Return Value
Boolean
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
InvalidOperationException | Is raised when IMAP client is not connected or connection is already authenticated. |
ArgumentNullException | Is raised when op is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119