Compartilhar via


Classe TestMessageLogEntryCollection

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Fornece um conjunto de teste de entradas de log de mensagem.

Hierarquia de herança

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

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)

Sintaxe

'Declaração
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>

O tipo TestMessageLogEntryCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of elements contained in the ReadOnlyCollection instance. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Propriedade pública Item Obtém o elemento no índice especificado. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Propriedade protegida Items Returns the IList that the ReadOnlyCollection wraps. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)

Superior

Métodos

  Nome Descrição
Método público Contains Determines whether an element is in the ReadOnlyCollection. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Método público CopyTo Copies the entire ReadOnlyCollection to a compatible one-dimensional Array, starting at the specified index of the target array. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Método público Equals Determines whether the specified object is equal to the current object. (Herdado de Object.)
Método protegido Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.)
Método público GetEnumerator Returns an enumerator that iterates through the ReadOnlyCollection. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Método público GetHashCode Serves as the default hash function. (Herdado de Object.)
Método público GetType Gets the Type of the current instance. (Herdado de Object.)
Método público IndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollection. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Método protegido MemberwiseClone Creates a shallow copy of the current Object. (Herdado de Object.)
Método protegido OnCollectionChanged Gerencie o evento de CollectionChanged usando os argumentos fornecidos. (Herdado de ReadOnlyObservableCollection<ITestMessageLogEntry>.)
Método protegido OnPropertyChanged Gerencie o evento de PropertyChanged usando os argumentos fornecidos. (Herdado de ReadOnlyObservableCollection<ITestMessageLogEntry>.)
Método público ToString Returns a string that represents the current object. (Herdado de Object.)

Superior

Eventos

  Nome Descrição
Evento protegido CollectionChanged Ocorre quando um item é adicionado ou removido. (Herdado de ReadOnlyObservableCollection<ITestMessageLogEntry>.)
Evento protegido PropertyChanged Ocorre quando um valor de propriedade é alterado. (Herdado de ReadOnlyObservableCollection<ITestMessageLogEntry>.)

Superior

Implementações explícitas da interface

  Nome Descrição
Implementação explícita da interfaceMétodo particular System#Collections#Generic#ICollection{T}#Add Adds an item to the ICollection.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IList#Add Adds an item to the IList.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#Generic#ICollection{T}#Clear Removes all items from the ICollection.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IList#Clear Removes all items from the IList.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceEvento particular System#Collections#Specialized#INotifyCollectionChanged#CollectionChanged Ocorre quando a coleção é alterado. (Herdado de ReadOnlyObservableCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IList#Contains Determines whether the IList contains a specific value. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#ICollection#CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IEnumerable#GetEnumerator Returns an enumerator that iterates through a collection. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IList#IndexOf Determines the index of a specific item in the IList. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#Generic#IList{T}#Insert Inserts an item to the IList at the specified index.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IList#Insert Inserts an item to the IList at the specified index.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfacePropriedade particular System#Collections#IList#IsFixedSize Gets a value indicating whether the IList has a fixed size. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfacePropriedade particular System#Collections#Generic#ICollection{T}#IsReadOnly Gets a value indicating whether the ICollection is read-only. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfacePropriedade particular System#Collections#IList#IsReadOnly Gets a value indicating whether the IList is read-only. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfacePropriedade particular System#Collections#ICollection#IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfacePropriedade particular System#Collections#Generic#IList{T}#Item Obtém o elemento no índice especificado.An NotSupportedException occurs if you try to set the item at the specified index. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfacePropriedade particular System#Collections#IList#Item Obtém o elemento no índice especificado.A NotSupportedException occurs if you try to set the item at the specified index. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceEvento particular System#ComponentModel#INotifyPropertyChanged#PropertyChanged Ocorre quando um valor de propriedade é alterado. (Herdado de ReadOnlyObservableCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#Generic#ICollection{T}#Remove Removes the first occurrence of a specific object from the ICollection.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IList#Remove Removes the first occurrence of a specific object from the IList.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#Generic#IList{T}#RemoveAt Removes the IList item at the specified index.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfaceMétodo particular System#Collections#IList#RemoveAt Removes the IList item at the specified index.This implementation always throws NotSupportedException. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)
Implementação explícita da interfacePropriedade particular System#Collections#ICollection#SyncRoot Gets an object that can be used to synchronize access to the ICollection. (Herdado de ReadOnlyCollection<ITestMessageLogEntry>.)

Superior

Acesso thread-safe

Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Consulte também

Referência

Namespace Microsoft.TeamFoundation.TestManagement.Client

ReadOnlyObservableCollection

ITestMessageLogEntry