| IMailFolderGetSubfolderAsync Method |
Asynchronously get the specified subfolder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task<IMailFolder> GetSubfolderAsync(
string name,
CancellationToken cancellationToken = default
)
Parameters
- name String
- The name of the subfolder.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskIMailFolderThe subfolder.
Remarks
Asynchronously gets the specified subfolder.
See Also