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

FabricClient.ClusterManagementClient.GetClusterConfigurationUpgradeStatusAsync 方法

定义

重载

GetClusterConfigurationUpgradeStatusAsync(TimeSpan, CancellationToken)

获取正在进行升级的状态。

GetClusterConfigurationUpgradeStatusAsync(TimeSpan)

获取正在进行升级的状态。

GetClusterConfigurationUpgradeStatusAsync()

获取正在进行升级的状态。

GetClusterConfigurationUpgradeStatusAsync(CancellationToken)

获取正在进行升级的状态。

GetClusterConfigurationUpgradeStatusAsync(TimeSpan, CancellationToken)

获取正在进行升级的状态。

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

参数

timeout
TimeSpan

定义 Service Fabric 允许在返回 TimeoutException之前继续此操作的最大时间跨度。

cancellationToken
CancellationToken

操作正在观察的取消标记。 它可用于发送应取消操作的通知。 请注意,取消是通知性的,即使操作被取消,操作仍可能完成。

返回

FabricOrchestrationUpgradeProgress

适用于

GetClusterConfigurationUpgradeStatusAsync(TimeSpan)

获取正在进行升级的状态。

public System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress> GetClusterConfigurationUpgradeStatusAsync (TimeSpan timeout);
member this.GetClusterConfigurationUpgradeStatusAsync : TimeSpan -> System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress>
Public Function GetClusterConfigurationUpgradeStatusAsync (timeout As TimeSpan) As Task(Of FabricOrchestrationUpgradeProgress)

参数

timeout
TimeSpan

定义 Service Fabric 允许在返回 TimeoutException之前继续此操作的最大时间跨度。

返回

FabricOrchestrationUpgradeProgress

适用于

GetClusterConfigurationUpgradeStatusAsync()

获取正在进行升级的状态。

public System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress> GetClusterConfigurationUpgradeStatusAsync ();
member this.GetClusterConfigurationUpgradeStatusAsync : unit -> System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress>
Public Function GetClusterConfigurationUpgradeStatusAsync () As Task(Of FabricOrchestrationUpgradeProgress)

返回

FabricOrchestrationUpgradeProgress

适用于

GetClusterConfigurationUpgradeStatusAsync(CancellationToken)

获取正在进行升级的状态。

public System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress> GetClusterConfigurationUpgradeStatusAsync (System.Threading.CancellationToken cancellationToken);
member this.GetClusterConfigurationUpgradeStatusAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress>
Public Function GetClusterConfigurationUpgradeStatusAsync (cancellationToken As CancellationToken) As Task(Of FabricOrchestrationUpgradeProgress)

参数

cancellationToken
CancellationToken

返回

FabricOrchestrationUpgradeProgress

适用于