|  | IMailFolderCreateAsync(String, SpecialFolder, CancellationToken) Method | 
            Asynchronously create a new subfolder with the given name.
            
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.12.1
 Syntax
SyntaxTask<IMailFolder> CreateAsync(
	string name,
	SpecialFolder specialUse,
	CancellationToken cancellationToken = default
)
Parameters
- name  String
- The name of the folder to create.
- specialUse  SpecialFolder
- The special use for the folder being created.
- cancellationToken  CancellationToken  (Optional)
- The cancellation token.
Return Value
TaskIMailFolderThe created folder.
 Exceptions
Exceptions Remarks
Remarks
            Asynchronously creates a new subfolder with the given name.
            
 See Also
See Also