Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Imap.GetFolderInfoAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9147)

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.

In This Article
  • GetFolderInfoAsync(String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies