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

ContainerRepository.GetProperties(CancellationToken) 方法

定义

获取存储库的属性。

public virtual Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties> GetProperties(System.Threading.CancellationToken cancellationToken = default);
abstract member GetProperties : System.Threading.CancellationToken -> Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties>
override this.GetProperties : System.Threading.CancellationToken -> Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties>
Public Overridable Function GetProperties (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerRepositoryProperties)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

容器注册表服务返回故障时引发。

适用于