ConnectedService 類別

這個類別有任何「public」資訊,而且機密資料。 它 not* 序列化密碼值的 *does,這些用戶端隨選提取。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.Server.Core.ConnectedService

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
<RequiredClientServiceAttribute("TeamFoundationStrongBoxService", "StrongBox")> _
Public Class ConnectedService
[ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)]
[RequiredClientServiceAttribute("TeamFoundationStrongBoxService", "StrongBox")]
public class ConnectedService

ConnectedService 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 ConnectedService ConnectedService 的建構函式

回頁首

屬性

  名稱 描述
公用屬性 CredentialsXmlInfo 在 XML 中的憑證用於這個服務在 StrongBoxItemInfo 包含連接至格式。
公用屬性 EndpointInfo 對這個服務的 URI 特定在 StrongBoxItemInfo 包含了。
公用屬性 OAuthTokenInfo 建立連接的 servcie 使用者的 OAuth 語彙基元。
公用屬性 ServiceMetadata 服務中繼資料 (包括名稱的 ID),易記名稱、描述、型別、TeamProject 和 ProjectId

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetCredentialsXml 在 XML 中的憑證以連接至格式化此服務。
公用方法 GetEndpoint 對這個服務的 URI 特定。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetOAuthToken 建立連接的 servcie 使用者的 OAuth 語彙基元。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Server.Core 命名空間