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

FabricClient.ApplicationManagementClient.GetApplicationUpgradeProgressAsync 方法

定义

重载

GetApplicationUpgradeProgressAsync(Uri)

检索指定应用程序实例的升级进度。

GetApplicationUpgradeProgressAsync(Uri, TimeSpan, CancellationToken)

检索指定应用程序实例的升级进度。

GetApplicationUpgradeProgressAsync(Uri)

检索指定应用程序实例的升级进度。

public System.Threading.Tasks.Task<System.Fabric.ApplicationUpgradeProgress> GetApplicationUpgradeProgressAsync (Uri applicationName);
member this.GetApplicationUpgradeProgressAsync : Uri -> System.Threading.Tasks.Task<System.Fabric.ApplicationUpgradeProgress>
Public Function GetApplicationUpgradeProgressAsync (applicationName As Uri) As Task(Of ApplicationUpgradeProgress)

参数

applicationName
Uri

应用程序实例名称的 URI。

返回

Task 其结果为指定应用程序实例的升级进度。

例外

对象 FabricClient 处于关闭状态。 释放正在使用的对象 FabricClient 并实例化新 FabricClient 对象。

请求已超时,但系统可能已接受处理。

请求在超时到期前已取消,但系统可能已接受处理请求。

适用于

GetApplicationUpgradeProgressAsync(Uri, TimeSpan, CancellationToken)

检索指定应用程序实例的升级进度。

public System.Threading.Tasks.Task<System.Fabric.ApplicationUpgradeProgress> GetApplicationUpgradeProgressAsync (Uri applicationName, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetApplicationUpgradeProgressAsync : Uri * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.ApplicationUpgradeProgress>
Public Function GetApplicationUpgradeProgressAsync (applicationName As Uri, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ApplicationUpgradeProgress)

参数

applicationName
Uri

应用程序实例名称的 URI。

timeout
TimeSpan

在返回 TimeoutException之前,系统允许此操作继续的最长时间。

cancellationToken
CancellationToken

CancellationToken操作正在观测的 。 它可用于传播应取消操作的通知。

返回

Task 其结果为指定应用程序实例的升级进度。

例外

对象 FabricClient 处于关闭状态。 释放正在使用的对象 FabricClient 并实例化新 FabricClient 对象。

请求已超时,但系统可能已接受处理。

请求在超时到期前已取消,但系统可能已接受处理请求。

适用于