Executes UNSUBSCRIBE command.

C# | Visual Basic | Visual C++ | F# |
public bool UnsubscribeFolderAsync( IMAP_Client..::..UnsubscribeFolderAsyncOP op )
Public Function UnsubscribeFolderAsync ( op As IMAP_Client..::..UnsubscribeFolderAsyncOP ) As Boolean
public: bool UnsubscribeFolderAsync( IMAP_Client..::..UnsubscribeFolderAsyncOP^ op )
member UnsubscribeFolderAsync : op : IMAP_Client..::..UnsubscribeFolderAsyncOP -> bool

- op (IMAP_Client..::..UnsubscribeFolderAsyncOP)
- Asynchronous operation.

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.

Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
InvalidOperationException | Is raised when IMAP client is not in valid state. For example 'not connected'. |
ArgumentNullException | Is raised when op 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