Share via


HealthInformation.SequenceNumber Property

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Gets or sets the sequence number associated with the report. Must be greater than UnknownSequenceNumber.

Namespace:   System.Fabric.Health
Assembly:  System.Fabric (in System.Fabric.dll)

Syntax

public long SequenceNumber { get; set; }

Property Value

Type: System.Int64

An Int64 representing the report sequence number.

Remarks

The report sequence number is used by health store to detect stale reports.

Most of the times, the reporter doesn't need to specify the sequence number. The default value AutoSequenceNumber can be used instead. When a health client receives a report with Auto sequence number, it replaces the auto sequence number with a valid sequence number. The sequence number is guaranteed to increase in the same process, even if the client machine time goes backwards.

See Also

HealthInformation Class
System.Fabric.Health Namespace

Return to top