Click or drag to resize

SampleInfo Properties

The SampleInfo type exposes the following members.

Properties
  NameDescription
Public propertyAbsoluteGenerationRank
The generation difference between this sample and the most recent sample. The AbsoluteGenerationRank indicates the generation difference (ie, the number of times the instance was disposed and became alive again) between this sample, and the most recent sample (possibly not in the returned collection) of this instance.
Public propertyDisposedGenerationCount
The number of times the instance has become 'Alive' after being explicitly disposed.
Public propertyGenerationRank
The generation difference of this sample and the most recent sample in the collection. GenerationRank indicates the generation difference (ie, the number of times the instance was disposed and became alive again) between this sample, and the most recent sample in the collection related to this instance.
Public propertyInstanceHandle
The handle that locally identifies the associated instance.
Public propertyInstanceState
Indicates whether the associated instance currently exists.
Public propertyNoWritersGenerationCount
The number of times the instance has become 'Alive' after being automatically disposed due to no active writers.
Public propertyPublicationHandle
The local handle of the source DataWriter.
Public propertySampleRank
Number of samples related to this instances that follow in the collection returned by the DataReader read or take operations.
Public propertySampleState
The associated data sample has/has not been read previously.
Public propertySourceTimestamp
The time provided by the DataWriter when the sample was written.
Public propertyValidData
Is set to if the associated DataSample contains data. The associated DataSample may not contain data if it this sample indicates a change in sample state (for example Alive -> Disposed).
Public propertyViewState
Associated instance has/has not been seen before. ViewState indicates whether the DataReader has already seen samples for the most current generation of the related instance.
Top
See Also