你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MockAdlsClient.CreateDirectoryAsync(String, String, CancellationToken) 方法

定义

创建目录 - 为内部字典中的目录创建条目

public override System.Threading.Tasks.Task<bool> CreateDirectoryAsync (string dirName, string octalPermission = default, System.Threading.CancellationToken cancelToken = default);
override this.CreateDirectoryAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overrides Function CreateDirectoryAsync (dirName As String, Optional octalPermission As String = Nothing, Optional cancelToken As CancellationToken = Nothing) As Task(Of Boolean)

参数

dirName
String

目录名称

octalPermission
String

八进制权限

cancelToken
CancellationToken

Cacnellation 令牌

返回

适用于