ReadOnlyAlertCollection Class
Represents the properties for a ReadOnlyObservableCollection of Alert objects.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Common.ProviderFramework.ThreadSafeReadOnlyObservableCollection<T>
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.ReadOnlyAlertCollection
Syntax
public sealed class ReadOnlyAlertCollection : ThreadSafeReadOnlyObservableCollection<Alert>
public ref class ReadOnlyAlertCollection sealed : ThreadSafeReadOnlyObservableCollection<Alert^>
Public NotInheritable Class ReadOnlyAlertCollection
Inherits ThreadSafeReadOnlyObservableCollection(Of Alert)
Constructors
Name | Description | |
---|---|---|
ReadOnlyAlertCollection(ObservableCollection<Alert>) | Initializes a new instance of the ReadOnlyAlertCollection class with the specified list of Alert objects. |
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements in the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IsReadOnly | Indicates whether the collection is read only.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
Item[Int32] | Gets the item at the specified index from the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
Methods
Name | Description | |
---|---|---|
Contains(T) | Determines whether the collection contains a specified item.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
Contains(Object) | Determines whether the collection contains a specified value.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
CopyTo(T[], Int32) | Copies the elements of the collection to an array, starting at a specified index.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
CopyTo(Array, Int32) | Copies the elements of the collection to an array, starting at a specified index.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(T) | Returns the index of the first occurrence of an object in the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IndexOf(Object) | Returns the index of the first occurrence of an object in the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
Remove(T) | Removes the specified item from the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
CollectionChanged | Represents an event that occurs when an item is added or removed.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
PropertyChanged | Represents an event that occurs when a property value changes.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection<T>.Add(T) | Adds the specified item to the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
ICollection<T>.Clear() | Clears the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList<T>.Insert(Int32, T) | Inserts the specified item into the collection at the specified index.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList<T>.RemoveAt(Int32) | Removes the item at the specified index from the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList.Add(Object) | Adds the specified value to the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList.Clear() | Clears the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList.Insert(Int32, Object) | Inserts the specified value into the collection at the specified index.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList.Remove(Object) | Removes the specified value from the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList.RemoveAt(Int32) | Removes the value at the specified index from the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
ICollection.IsSynchronized | Indicates whether the collection is synchronized.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList.IsFixedSize | Indicates whether the collection is a fixed size.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
|
IList.Item[Int32] | Gets the item at the specified index from the collection.(Inherited from ThreadSafeReadOnlyObservableCollection<T>.) |
Extension Methods
Name | Description | |
---|---|---|
CountActiveCritical() | Returns the count of active critical alerts in the specified IEnumerable implementation of Alert objects.(Defined by IEnumerableAlertExtensions.) |
|
CountActiveInformational() | Returns the count of active informational alerts in the specified IEnumerable implementation of Alert objects.(Defined by IEnumerableAlertExtensions.) |
|
CountActiveWarning() | Returns the count of active warning alerts in the specified IEnumerable implementation of Alert objects.(Defined by IEnumerableAlertExtensions.) |
|
GetSeverityLevel() | Returns the highest severity of the alerts in the specified IEnumerable implementation of Alert objects.(Defined by IEnumerableAlertExtensions.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top