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

StorageSyncServicesOperationsExtensions.CheckNameAvailabilityAsync 方法

定义

检查提供命名空间名称的可用性。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations operations, string locationName, string name, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.CheckNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IStorageSyncServicesOperations, locationName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)

参数

operations
IStorageSyncServicesOperations

此扩展方法的操作组。

locationName
String

名称检查的所需区域。

name
String

要检查可用性的名称

cancellationToken
CancellationToken

取消标记。

返回

适用于