Admin 類別

繼承階層架構

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Web.Services.WebService
      Microsoft.TeamFoundation.Server.Core.WebServices.TeamFoundationWebService
        Microsoft.TeamFoundation.VersionControl.Server.VersionControlWebService
          Microsoft.TeamFoundation.VersionControl.Server.Admin

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

語法

'宣告
<WebServiceAttribute(Namespace := "https://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/Admin/03",  _
    Description := "Team Foundation VersionControl Admin web service")> _
<ProxyParentClassAttribute("VersionControlClientProxy")> _
<ClientServiceAttribute(ServiceName := "ISCCAdmin", CollectionServiceIdentifier := "0ade2b5a-efa4-419e-bf11-24f7cfe7c1a2")> _
Public Class Admin _
    Inherits VersionControlWebService
[WebServiceAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/Admin/03", 
    Description = "Team Foundation VersionControl Admin web service")]
[ProxyParentClassAttribute("VersionControlClientProxy")]
[ClientServiceAttribute(ServiceName = "ISCCAdmin", CollectionServiceIdentifier = "0ade2b5a-efa4-419e-bf11-24f7cfe7c1a2")]
public class Admin : VersionControlWebService

Admin 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 Admin

回頁首

屬性

  名稱 描述
公用屬性 Application 取得目前 HTTP 要求的應用程式物件。 (繼承自 WebService)。
公用屬性 Container 取得元件的容器。 (繼承自 MarshalByValueComponent)。
公用屬性 Context 取得目前要求的 ASP.NET HttpContext 將 HTTP 伺服器使用的所有 HTTP 特定內容封裝,以便處理 Web 要求。 (繼承自 WebService)。
公用屬性 DesignMode 取得值,表示元件目前是否處於設計模式。 (繼承自 MarshalByValueComponent)。
受保護的屬性 Events 取得附加在這個元件上的事件處理常式清單。 (繼承自 MarshalByValueComponent)。
受保護的屬性 RequestContext RequestContext 與這個 Web 服務要求。 (繼承自 TeamFoundationWebService)。
公用屬性 Server 取得目前要求的 HttpServerUtility。 (繼承自 WebService)。
公用屬性 Session 取得目前要求的 HttpSessionState。 (繼承自 WebService)。
公用屬性 Site 取得或設定元件的站台。 (繼承自 MarshalByValueComponent)。
公用屬性 SoapVersion 取得向 XML Web Service 提出 SOAP 要求時所使用的 SOAP 通訊協定版本。 (繼承自 WebService)。
公用屬性 User 取得 ASP.NET 伺服器 User 物件。可用來驗證是否授權使用者執行要求。 (繼承自 WebService)。

回頁首

方法

  名稱 描述
受保護的方法 AddWebServiceResource 加入應該設定於要求結束時的 Web 服務方法的 IDisposable 資源。 (繼承自 TeamFoundationWebService)。
公用方法 Dispose() 釋放 MarshalByValueComponent 所使用的所有資源。 (繼承自 MarshalByValueComponent)。
受保護的方法 Dispose(Boolean) 釋放 MarshalByValueComponent 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。 (繼承自 MarshalByValueComponent)。
受保護的方法 EnterMethod (繼承自 VersionControlWebService)。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 MarshalByValueComponent)。
公用方法 GenerateRepositoryKey 建立新的儲存機制下載金鑰。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetService 取得 IServiceProvider 的實作器。 (繼承自 MarshalByValueComponent)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 HandleException 這個基本的 WebService ExceptionHandler 在未來記錄的要求內容擷取例外狀況並記錄它。服務可以選擇忽略這個方法,會根據例外狀況,變更例外狀況,要求它或讓它的某些動作傳遞。 (繼承自 TeamFoundationWebService)。
受保護的方法 LeaveMethod (繼承自 VersionControlWebService)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 OptimizeDatabase 這個方法是用來執行壓縮某種資料庫的傳遞和合約的索引和資料表。
公用方法 QueryRepositoryInformation 如需儲存機制使用方式的傳回資訊,包括下列:- # # 使用者工作區- # 檔案/資料夾-最高的變更集 ID - # 暫止的變更。
受保護的方法 SetMethodName 設定方法名稱 (這會呼叫與 methodInformation 相同執行個體的未分頁 EnterMethod),不過,,沒有參數的方法,以便正確註冊活動記錄檔而不是它的 URL。 (繼承自 TeamFoundationWebService)。
公用方法 ToString 傳回 String,其中可能含有 Component 的名稱。這個方法不應該被覆寫。 (繼承自 MarshalByValueComponent)。

回頁首

事件

  名稱 描述
公用事件 Disposed 加入事件處理常式來接聽 (Listen) 元件上的 Disposed 事件。 (繼承自 MarshalByValueComponent)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.VersionControl.Server 命名空間