ExpectedProcessCollection 類別

需要的處理序及其對應收集計畫的集合。 修改這個集合的多個執行緒並不安全。 您可以從多個執行緒來讀取這個集合。

繼承階層架構

System.Object
  Microsoft.VisualStudio.IntelliTrace.ExpectedProcessCollection

命名空間:  Microsoft.VisualStudio.IntelliTrace
組件:  Microsoft.IntelliTrace.11.0.0 (在 Microsoft.IntelliTrace.11.0.0.dll 中)

語法

'宣告
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

ExpectedProcessCollection 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Count
公用屬性 IsReadOnly
公用屬性 Item 透過索引存取項目。

回頁首

方法

  名稱 說明
公用方法 Add 加入預期的處理序項目。
公用方法 Clear
公用方法 Contains
公用方法 CopyTo
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetEnumerator 傳回集合的列舉程式。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 IndexOf 傳回指定之項目的索引。
公用方法 Insert 將項目插入至集合中。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 Remove
公用方法 RemoveAt 從集合中移除項目
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

明確介面實作

  名稱 說明
明確介面實作私用方法 IEnumerable.GetEnumerator 傳回集合的列舉程式。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.IntelliTrace 命名空間