HealthInformation.SequenceNumber Property

Definition

Gets or sets the sequence number associated with the health information, used by the health store for staleness detection. Must be greater than UnknownSequenceNumber.

public long SequenceNumber { get; set; }
member this.SequenceNumber : int64 with get, set
Public Property SequenceNumber As Long

Property Value

System.Int64

The report sequence number associated with the health information.

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 generates a valid sequence number, which is guaranteed to increase in the same process.

Applies to