Condividi tramite


StatelessServiceProperties.InstanceCloseDelayDuration Property

Definition

Gets or sets delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

[Newtonsoft.Json.JsonProperty(PropertyName="instanceCloseDelayDuration")]
public string InstanceCloseDelayDuration { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="instanceCloseDelayDuration")>]
member this.InstanceCloseDelayDuration : string with get, set
Public Property InstanceCloseDelayDuration As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to