PlatformConfiguration 類別

表示方案或專案建置的平台和組態。

繼承階層

System.Object
  Microsoft.TeamFoundation.Build.Workflow.Activities.PlatformConfiguration

命名空間:  Microsoft.TeamFoundation.Build.Workflow.Activities
組件:  Microsoft.TeamFoundation.Build.Workflow (在 Microsoft.TeamFoundation.Build.Workflow.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Class PlatformConfiguration
[SerializableAttribute]
public class PlatformConfiguration

PlatformConfiguration 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 PlatformConfiguration() 初始化 PlatformConfiguration 類別的新執行個體。
公用方法 PlatformConfiguration(String, String) 初始化 PlatformConfiguration 類別的新執行個體。

回頁首

屬性

  名稱 描述
公用屬性 Configuration 取得或設定要建立方案或專案的組態。
公用屬性靜態成員 Default 取得空的 PlatformConfiguration 物件。
公用屬性 IsConfigurationEmpty 取得描述的旗標 Configuration 屬性未設定。
公用屬性 IsEmpty 取得表示 ConfigurationPlatform 屬性是否為旗標未設定。
公用屬性 IsPlatformEmpty 取得描述的旗標 Platform 屬性未設定。
公用屬性 IsPlatformEmptyOrAnyCpu 取得描述的旗標 Platform 屬性設定為「任何 CPU 或 null。
公用屬性 Platform 取得或設定表示可以建置方案或專案的平台的字串。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法靜態成員 FromString
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製。 (繼承自 Object)。
公用方法 ToString 取得描述這個執行個體的屬性使用者可讀取的 (Human-Readable) 字串。 (覆寫 Object.ToString()。)

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Build.Workflow.Activities 命名空間