DeploymentEnvironment 類別
這個類別包含所有部署環境中繼資料和 (秘密環境屬性。 這個類別無法序列化秘密值,這些用戶端隨選提取。
繼承階層
System.Object
Microsoft.TeamFoundation.Build.Server.DeploymentEnvironment
命名空間: Microsoft.TeamFoundation.Build.Server
組件: Microsoft.TeamFoundation.Build.Server (在 Microsoft.TeamFoundation.Build.Server.dll 中)
語法
'宣告
<RequiredClientServiceAttribute("TeamFoundationStrongBoxService", "StrongBox")> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Class DeploymentEnvironment
[RequiredClientServiceAttribute("TeamFoundationStrongBoxService", "StrongBox")]
[CallOnDeserializationAttribute("AfterDeserialize")]
[ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public class DeploymentEnvironment
DeploymentEnvironment 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
DeploymentEnvironment |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
EnvironmentMetadata | 部署環境中繼資料 (包括名稱的 ID), connectedServiceName、易記名稱、描述、型別、TeamProject 和 ProjectId | |
EnvironmentPropertiesInfo |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 | |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 | |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 | |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 | |
MemberwiseClone | 建立目前 Object 的淺層複製。 (繼承自 Object)。 | |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。