다음을 통해 공유


ServiceHealthStateChunkList Class

Definition

Represents a list that contains ServiceHealthStateChunk items.

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

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

ServiceHealthStateChunkList()

Instantiates an empty ServiceHealthStateChunkList.

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