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 或空白。
公用屬性 Platform 取得或設定表示可以建置方案或專案的平台的字串。

回頁首

方法

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

回頁首

執行緒安全

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

請參閱

參考

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