Udostępnij za pośrednictwem


PartitionHealthStateChunkList Class

Definition

Represents a list that contains PartitionHealthStateChunk items.

public sealed class PartitionHealthStateChunkList : System.Fabric.Health.HealthStateChunkList<System.Fabric.Health.PartitionHealthStateChunk>
type PartitionHealthStateChunkList = class
    inherit HealthStateChunkList<PartitionHealthStateChunk>
Public NotInheritable Class PartitionHealthStateChunkList
Inherits HealthStateChunkList(Of PartitionHealthStateChunk)
Inheritance
PartitionHealthStateChunkList

Remarks

The list can be obtained through health state chunk queries. The queries may have as result more chunks that can fit a message. In this case, the list of items that fit the message is returned plus a count that shows how many total items are available.

Constructors

PartitionHealthStateChunkList()

Instantiates an empty PartitionHealthStateChunkList.

Properties

Count

Gets or sets the number of items in the list.

(Inherited from HealthStateChunkList<T>)
IsReadOnly

Gets or sets a flag that indicated whether the list can be modified.

(Inherited from HealthStateChunkList<T>)
Item[Int32]

Gets the item at the specified index.

(Inherited from HealthStateChunkList<T>)
TotalCount

Gets the total number of items to be returned in one or more messages.

(Inherited from HealthStateChunkList<T>)

Methods

Add(T)

Adds an item to this list.

(Inherited from HealthStateChunkList<T>)
Clear()

Removes all items from this list.

(Inherited from HealthStateChunkList<T>)
Contains(T)

Specifies whether the list contains a specific item.

(Inherited from HealthStateChunkList<T>)
CopyTo(T[], Int32)

Copies items from this list to the specified array starting at the specified index.

(Inherited from HealthStateChunkList<T>)
GetEnumerator()

Gets an enumerator to items in this list.

(Inherited from HealthStateChunkList<T>)
IndexOf(T)

Gets the index in this list for the specified item.

(Inherited from HealthStateChunkList<T>)
Insert(Int32, T)

Inserts an item into this list at the specified index.

(Inherited from HealthStateChunkList<T>)
Remove(T)

Removes the specified item from this list.

(Inherited from HealthStateChunkList<T>)
RemoveAt(Int32)

Removes the item at the specified index from this list.

(Inherited from HealthStateChunkList<T>)
ToString()

Returns a string representation of the chunk list.

(Inherited from HealthStateChunkList<T>)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator to items in this list.

(Inherited from HealthStateChunkList<T>)

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

ToArray<T>(HealthStateChunkList<T>)

Returns an array with the items in the chunk list.

Applies to