检测 Service Fabric 升级已使用 .NET 客户端完成

Detecting Service Fabric upgrade is completed using .NET client

使用基于 FabricClient.ApplicationManagementClient.UpgradeApplicationAsync and getting the status of upgrade using FabricClient.ApplicationManagementClient.GetApplicationUpgradeProgressAsync. Last command returns ApplicationUpgradeProgress with a property UpgradeStatus. I was hoping this enum (ApplicationUpgradeState) 属性 的 .NET 客户端升级现有 SF 应用程序将具有已完成或类似的值,但没有类似的值。

确定(使用 .NET 客户端)给定 SF 应用程序已成功完成的正确方法是什么?有回调选项吗?

ApplicationUpgradeState.RollingForwardCompleted