TestExecId 類別
表示測試回合中測試的唯一 ID。 此類別無法被繼承。
繼承階層架構
Object
Microsoft.VisualStudio.TestTools.Common.TestExecId
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
<SerializableAttribute> _
Public NotInheritable Class TestExecId
[SerializableAttribute]
public sealed class TestExecId
[SerializableAttribute]
public ref class TestExecId sealed
[<Sealed>]
[<SerializableAttribute>]
type TestExecId = class end
public final class TestExecId
TestExecId 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
TestExecId() | 初始化 TestExecId 類別的新執行個體。 | |
TestExecId(Guid) | 使用提供的 GUID,初始化 TestExecId 類別的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
Empty | 取得具有空白 Guid 的新 TestExecId。 | |
Id | 取得這個物件的 Guid。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Equals | 判斷提供的物件是否等於目前的物件。 (覆寫 Object.Equals(Object)。) | |
GetHashCode | 做為預設雜湊函式。 (覆寫 Object.GetHashCode。) | |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 | |
ToString | 傳回這個物件的字串形式。 (覆寫 Object.ToString。) |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。