Share via


RollingUpgradeMonitoringPolicy.FailureAction Property

Definition

Gets or sets the action to take if an upgrade fails. The default is Invalid.

public System.Fabric.UpgradeFailureAction FailureAction { get; set; }
member this.FailureAction : System.Fabric.UpgradeFailureAction with get, set
Public Property FailureAction As UpgradeFailureAction

Property Value

The action to take if an upgrade fails.

Exceptions

The FailureAction property is set to Invalid.

Remarks

The FailureAction property must be changed from the default of Invalid or a ArgumentException will be thrown before the upgrade begins.

Applies to