Imap.GetFolderInfoAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9119)
GetFolderInfoAsync(String, Object)
Begins asynchronous GetFolderInfo operation. Returns information about the specified folder without selecting it.
Declaration
public Task<ImapFolder> GetFolderInfoAsync(string folder, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | folder | Folder to retrieve information about. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<ImapFolder> | A folder info. |
Remarks
Following ImapFolder properties are determined using this method: MessageCount, RecentCount, NotSeenCount, NextUniqueId and ValidityID.
This method represents IMAP STATUS command.