Udostępnij za pośrednictwem


Klasa TestMessageLogEntryCollection

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Udostępnia kolekcję test wpisy dziennika komunikatów.

Hierarchia dziedziczenia

Object
  ReadOnlyCollection<ITestMessageLogEntry>
    ReadOnlyObservableCollection<ITestMessageLogEntry>
      Microsoft.TeamFoundation.TestManagement.Client.TestMessageLogEntryCollection

Przestrzeń nazw:  Microsoft.TeamFoundation.TestManagement.Client
Zestaw:  Microsoft.TeamFoundation.TestManagement.Client (w Microsoft.TeamFoundation.TestManagement.Client.dll)

Składnia

'Deklaracja
Public Class TestMessageLogEntryCollection _
    Inherits ReadOnlyObservableCollection(Of ITestMessageLogEntry)
public class TestMessageLogEntryCollection : ReadOnlyObservableCollection<ITestMessageLogEntry>
public ref class TestMessageLogEntryCollection : public ReadOnlyObservableCollection<ITestMessageLogEntry^>
type TestMessageLogEntryCollection =  
    class 
        inherit ReadOnlyObservableCollection<ITestMessageLogEntry>
    end
public class TestMessageLogEntryCollection extends ReadOnlyObservableCollection<ITestMessageLogEntry>

Typ TestMessageLogEntryCollection uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna Count Gets the number of elements contained in the ReadOnlyCollection instance. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Właściwość publiczna Item Pobiera element pod określonym indeksem. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Właściwość chroniona Items Returns the IList that the ReadOnlyCollection wraps. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).

Początek

Metody

  Nazwa Opis
Metoda publiczna Contains Determines whether an element is in the ReadOnlyCollection. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Metoda publiczna CopyTo Copies the entire ReadOnlyCollection to a compatible one-dimensional Array, starting at the specified index of the target array. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetEnumerator Returns an enumerator that iterates through the ReadOnlyCollection. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda publiczna IndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollection. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda chroniona OnCollectionChanged Podnosi CollectionChanged zdarzeń przy użyciu podanych argumentów. (Odziedziczone z ReadOnlyObservableCollection<ITestMessageLogEntry>).
Metoda chroniona OnPropertyChanged Podnosi PropertyChanged zdarzeń przy użyciu podanych argumentów. (Odziedziczone z ReadOnlyObservableCollection<ITestMessageLogEntry>).
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie chronione CollectionChanged Występuje, gdy element jest dodawany lub usuwany. (Odziedziczone z ReadOnlyObservableCollection<ITestMessageLogEntry>).
Zdarzenie chronione PropertyChanged Występuje, gdy wartość właściwości zostanie zmieniona. (Odziedziczone z ReadOnlyObservableCollection<ITestMessageLogEntry>).

Początek

Jawne implementacje interfejsu

  Nazwa Opis
Jawna implementacja interfejsuMetoda prywatna System#Collections#Generic#ICollection{T}#Add Adds an item to the ICollection.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IList#Add Adds an item to the IList.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#Generic#ICollection{T}#Clear Removes all items from the ICollection.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IList#Clear Removes all items from the IList.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuZdarzenie prywatne System#Collections#Specialized#INotifyCollectionChanged#CollectionChanged Występuje, gdy kolekcja. (Odziedziczone z ReadOnlyObservableCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IList#Contains Determines whether the IList contains a specific value. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#ICollection#CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IEnumerable#GetEnumerator Returns an enumerator that iterates through a collection. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IList#IndexOf Determines the index of a specific item in the IList. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#Generic#IList{T}#Insert Inserts an item to the IList at the specified index.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IList#Insert Inserts an item to the IList at the specified index.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuWłaściwość prywatna System#Collections#IList#IsFixedSize Gets a value indicating whether the IList has a fixed size. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuWłaściwość prywatna System#Collections#Generic#ICollection{T}#IsReadOnly Gets a value indicating whether the ICollection is read-only. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuWłaściwość prywatna System#Collections#IList#IsReadOnly Gets a value indicating whether the IList is read-only. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuWłaściwość prywatna System#Collections#ICollection#IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuWłaściwość prywatna System#Collections#Generic#IList{T}#Item Pobiera element pod określonym indeksem.An NotSupportedException occurs if you try to set the item at the specified index. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuWłaściwość prywatna System#Collections#IList#Item Pobiera element pod określonym indeksem.A NotSupportedException occurs if you try to set the item at the specified index. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuZdarzenie prywatne System#ComponentModel#INotifyPropertyChanged#PropertyChanged Występuje, gdy wartość właściwości zostanie zmieniona. (Odziedziczone z ReadOnlyObservableCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#Generic#ICollection{T}#Remove Removes the first occurrence of a specific object from the ICollection.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IList#Remove Removes the first occurrence of a specific object from the IList.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#Generic#IList{T}#RemoveAt Removes the IList item at the specified index.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuMetoda prywatna System#Collections#IList#RemoveAt Removes the IList item at the specified index.This implementation always throws NotSupportedException. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).
Jawna implementacja interfejsuWłaściwość prywatna System#Collections#ICollection#SyncRoot Gets an object that can be used to synchronize access to the ICollection. (Odziedziczone z ReadOnlyCollection<ITestMessageLogEntry>).

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.TeamFoundation.TestManagement.Client

ReadOnlyObservableCollection

ITestMessageLogEntry