Класс TraceEventCollection
Contains a collection of TraceEvent objects. This class cannot be inherited.
Иерархия наследования
System.Object
Microsoft.AnalysisServices.TraceEventCollection
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")> _
Public NotInheritable Class TraceEventCollection _
Implements ICollection, IEnumerable
'Применение
Dim instance As TraceEventCollection
[GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")]
public sealed class TraceEventCollection : ICollection,
IEnumerable
[GuidAttribute(L"8294A436-B408-4594-A0D1-31B2C7F2904A")]
public ref class TraceEventCollection sealed : ICollection,
IEnumerable
[<SealedAttribute>]
[<GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")>]
type TraceEventCollection =
class
interface ICollection
interface IEnumerable
end
public final class TraceEventCollection implements ICollection, IEnumerable
Тип TraceEventCollection обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
Count | Gets the number of TraceEvent objects in the collection. | |
Item[Int32] | Gets the TraceEvent at the specified index from the collection. | |
Item[TraceEventClass] | Gets the TraceEvent that has the specified TraceEventClass value from the collection. |
В начало
Методы
Имя | Описание | |
---|---|---|
Add(TraceEvent) | Adds a TraceEvent to the end of the collection. | |
Add(TraceEventClass) | Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection. | |
Clear | Removes all elements from the collection. | |
Contains(TraceEvent) | Indicates whether the collection contains a specified TraceEvent. | |
Contains(TraceEventClass) | Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value. | |
Equals | (Производный от Object.) | |
Find | Gets the TraceEvent that has the specified TraceEventClass value from the collection. | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
Remove(TraceEvent) | Removes the specified TraceEvent from the collection. | |
Remove(TraceEventClass) | Removes the TraceEvent that has the specified TraceEventClass value from the collection. | |
ToString | (Производный от Object.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at a particular array index. | |
IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. | |
ICollection.IsSynchronized | Gets a value that indicates whether access to the TraceEventCollection is synchronized. | |
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the TraceEventCollection. |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.