CreateFolderAsync

IAsyncEwsClient.CreateFolderAsync method

创建新文件夹

public Task<ExchangeFolderInfo> CreateFolderAsync(string parentFolderUri, string name, 
    ExchangeFolderPermissionCollection permissions = null, string folderClass = null, 
    CancellationToken cancellationToken = default)
范围类型描述
parentFolderUriString父文件夹的 URI
nameString新文件夹的名称
permissionsExchangeFolderPermissionCollection新文件夹的权限
folderClassString新建文件夹的类
cancellationTokenCancellationToken取消令牌。

返回值

返回文件夹信息

也可以看看