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

Imap.FolderExistsAsync Method

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

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.

Returns
Type Description
Task<Boolean>

True if the folder exists, false otherwise.

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