 | ImapExamineAsync(FolderInfo, CancellationToken) Method |
Selects specified folder (mailbox) as the current read-only folder so that messages inside can be accessed.
Examine command will not reset the
Recent flag.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<FolderStatus> ExamineAsync(
FolderInfo folder,
CancellationToken cancel = default
)
Public Function ExamineAsync (
folder As FolderInfo,
Optional cancel As CancellationToken = Nothing
) As Task(Of FolderStatus)
public:
Task<FolderStatus^>^ ExamineAsync(
FolderInfo^ folder,
CancellationToken cancel = CancellationToken()
)
member ExamineAsync :
folder : FolderInfo *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<FolderStatus> Parameters
- folder FolderInfo
- Folder name.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskFolderStatusStatus of the folder (mailbox).
Remarks
See Also