Imap.FolderExistsAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9448)
FolderExistsAsync(String, Object)
Begins asynchronous FolderExists operation. Detects whether the specified folder exists on the server. Not all IMAP servers support this!
Declaration
public Task<bool> FolderExistsAsync(string folder, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | folder | The path to the folder to check. |
| Object | state | An optional user-provided object that identifies this particular asynchronous operation. |