Share via


ExpectedProcessCollection Class

A collection of expected processes and their corresponding collection plans. It is not safe to modify this collection multiple threads. You can read this collection from multiple threads.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.IntelliTrace.ExpectedProcessCollection

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)

Syntax

'Declaration
Public Class ExpectedProcessCollection _
    Implements IList(Of ExpectedProcessCollectionEntry), ICollection(Of ExpectedProcessCollectionEntry),  _
    IEnumerable(Of ExpectedProcessCollectionEntry), IEnumerable
public class ExpectedProcessCollection : IList<ExpectedProcessCollectionEntry>, 
    ICollection<ExpectedProcessCollectionEntry>, IEnumerable<ExpectedProcessCollectionEntry>, IEnumerable
public ref class ExpectedProcessCollection : IList<ExpectedProcessCollectionEntry^>, 
    ICollection<ExpectedProcessCollectionEntry^>, IEnumerable<ExpectedProcessCollectionEntry^>, IEnumerable
type ExpectedProcessCollection =  
    class 
        interface IList<ExpectedProcessCollectionEntry>
        interface ICollection<ExpectedProcessCollectionEntry>
        interface IEnumerable<ExpectedProcessCollectionEntry>
        interface IEnumerable 
    end
public class ExpectedProcessCollection implements IList<ExpectedProcessCollectionEntry>, ICollection<ExpectedProcessCollectionEntry>, IEnumerable<ExpectedProcessCollectionEntry>, IEnumerable

The ExpectedProcessCollection type exposes the following members.

Properties

  Name Description
Public property Count
Public property IsReadOnly
Public property Item Accesses an item by index.

Top

Methods

  Name Description
Public method Add Add expected process entry.
Public method Clear
Public method Contains
Public method CopyTo
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator for the collection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Return the index of the given item.
Public method Insert Insert an item into the collection.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove
Public method RemoveAt Removes an item from the collection
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator for the collection.

Top

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

Reference

Microsoft.VisualStudio.IntelliTrace Namespace