ManagementService 類別

沒有 ManagementService 的註解在結構描述。

繼承階層架構

System.Object
  System.Data.Services.Client.DataServiceContext
    Microsoft.TeamFoundation.Framework.Server.AccessControl.ManagementService

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

語法

'宣告
Public Class ManagementService _
    Inherits DataServiceContext
public class ManagementService : DataServiceContext

ManagementService 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 ManagementService 初始化新的 ManagementService 物件。

回頁首

屬性

  名稱 描述
公用屬性 ApplyingChanges 取得值,這個值指出 DataServiceContext 目前是否正在將變更套用至追蹤的物件。 (繼承自 DataServiceContext)。
公用屬性 BaseUri 取得識別目標資料服務根目錄的絕對 URI。 (繼承自 DataServiceContext)。
公用屬性 ClaimTypes 沒有 ClaimTypes 的註解在結構描述。
公用屬性 ConditionalRules 沒有 ConditionalRules 的註解在結構描述。
公用屬性 Credentials 取得或設定驗證資訊,此資訊由 DataServiceContext 物件建立的每一個查詢所使用。 (繼承自 DataServiceContext)。
公用屬性 DataNamespace 取得或設定 Atom 承載之資料項目 (而非中繼資料項目) 的 XML 命名空間 (Namespace)。 (繼承自 DataServiceContext)。
公用屬性 Delegations 沒有委派的註解結構描述的。
公用屬性 Entities 取得 DataServiceContext 目前正在追蹤的所有資源之清單。 (繼承自 DataServiceContext)。
公用屬性 IdentityProviderAddresses 沒有 IdentityProviderAddresses 的註解在結構描述。
公用屬性 IdentityProviderClaimTypes 沒有 IdentityProviderClaimTypes 的註解在結構描述。
公用屬性 IdentityProviderKeys 沒有 IdentityProviderKeys 的註解在結構描述。
公用屬性 IdentityProviders 沒有 IdentityProviders 的註解在結構描述。
公用屬性 IgnoreMissingProperties 取得或設定從型別讀取的屬性是否必須對應至用戶端型別上的屬性。 (繼承自 DataServiceContext)。
公用屬性 IgnoreResourceNotFoundException 取得或設定值,這個值指出當資料服務傳回 404 錯誤 (找不到資源) 時是否引發例外狀況。 (繼承自 DataServiceContext)。
公用屬性 Issuers 沒有簽發者的註解在結構描述。
公用屬性 Links 取得 DataServiceContext 物件目前正在追蹤的所有關聯或連結之集合。 (繼承自 DataServiceContext)。
公用屬性 MergeOption 取得或設定從資料服務接收實體 (Entity) 的同步處理選項。 (繼承自 DataServiceContext)。
公用屬性 RelyingParties 沒有 RelyingParties 的註解在結構描述。
公用屬性 RelyingPartyAddresses 沒有 RelyingPartyAddresses 的註解在結構描述。
公用屬性 RelyingPartyIdentityProviders 沒有 RelyingPartyIdentityProviders 的註解在結構描述。
公用屬性 RelyingPartyKeys 沒有 RelyingPartyKeys 的註解在結構描述。
公用屬性 RelyingPartyRuleGroups 沒有 RelyingPartyRuleGroups 的註解在結構描述。
公用屬性 ResolveName 取得或設定函式,此函式可覆寫當您傳送實體至資料服務時,用戶端程式庫所使用的預設型別解析策略。 (繼承自 DataServiceContext)。
公用屬性 ResolveType 取得或設定函式,以在從資料服務接收實體時,用來覆寫用戶端程式庫所使用的預設型別解析選項。 (繼承自 DataServiceContext)。
公用屬性 RuleGroups 沒有 RuleGroups 的註解在結構描述。
公用屬性 Rules 沒有規則的註解在結構描述。
公用屬性 SaveChangesDefaultOptions 取得或設定 SaveChanges 方法所使用的 SaveChangesOptions 值。 (繼承自 DataServiceContext)。
公用屬性 ServiceIdentities 沒有 ServiceIdentities 的註解在結構描述。
公用屬性 ServiceIdentityKeys 沒有 ServiceIdentityKeys 的註解在結構描述。
公用屬性 ServiceKeys 沒有 ServiceKeys 的註解在結構描述。
公用屬性 Timeout 取得或設定逾時選項,用於對資料服務的基礎 HTTP 要求。 (繼承自 DataServiceContext)。
公用屬性 TypeScheme 取得或設定用來表示服務使用哪種型別配置的 URI。 (繼承自 DataServiceContext)。
公用屬性 UsePostTunneling 取得或設定布林值,這個值表示是否要使用 Post 通道。 (繼承自 DataServiceContext)。

回頁首

方法

  名稱 描述
公用方法 AddLink 將指定的連結加入 DataServiceContext 正在追蹤的物件集。 (繼承自 DataServiceContext)。
公用方法 AddObject 將指定的物件加入 DataServiceContext 正在追蹤的物件集。 (繼承自 DataServiceContext)。
公用方法 AddRelatedObject 將相關物件加入至內容並且建立連結,此連結會定義單一要求中兩個物件之間的關聯性。 (繼承自 DataServiceContext)。
公用方法 AddToClaimTypes 沒有 ClaimTypes 的註解在結構描述。
公用方法 AddToConditionalRules 沒有 ConditionalRules 的註解在結構描述。
公用方法 AddToDelegations 沒有委派的註解結構描述的。
公用方法 AddToIdentityProviderAddresses 沒有 IdentityProviderAddresses 的註解在結構描述。
公用方法 AddToIdentityProviderClaimTypes 沒有 IdentityProviderClaimTypes 的註解在結構描述。
公用方法 AddToIdentityProviderKeys 沒有 IdentityProviderKeys 的註解在結構描述。
公用方法 AddToIdentityProviders 沒有 IdentityProviders 的註解在結構描述。
公用方法 AddToIssuers 沒有簽發者的註解在結構描述。
公用方法 AddToRelyingParties 沒有 RelyingParties 的註解在結構描述。
公用方法 AddToRelyingPartyAddresses 沒有 RelyingPartyAddresses 的註解在結構描述。
公用方法 AddToRelyingPartyIdentityProviders 沒有 RelyingPartyIdentityProviders 的註解在結構描述。
公用方法 AddToRelyingPartyKeys 沒有 RelyingPartyKeys 的註解在結構描述。
公用方法 AddToRelyingPartyRuleGroups 沒有 RelyingPartyRuleGroups 的註解在結構描述。
公用方法 AddToRuleGroups 沒有 RuleGroups 的註解在結構描述。
公用方法 AddToRules 沒有規則的註解在結構描述。
公用方法 AddToServiceIdentities 沒有 ServiceIdentities 的註解在結構描述。
公用方法 AddToServiceIdentityKeys 沒有 ServiceIdentityKeys 的註解在結構描述。
公用方法 AddToServiceKeys 沒有 ServiceKeys 的註解在結構描述。
公用方法 AttachLink 通知 DataServiceContext,開始追蹤定義實體物件之間關聯性的指定連結。 (繼承自 DataServiceContext)。
公用方法 AttachTo(String, Object) 通知 DataServiceContext,開始追蹤指定的資源,並提供指定的資源集內資源的位置。 (繼承自 DataServiceContext)。
公用方法 AttachTo(String, Object, String) 通知 DataServiceContext 開始追蹤指定的資源,並提供指定的資源集內資源的位置。 (繼承自 DataServiceContext)。
公用方法 BeginExecute<TElement>(Uri, AsyncCallback, Object) 以非同步方式傳送要求,讓這個呼叫不會在等候來自服務的結果時封鎖處理。 (繼承自 DataServiceContext)。
公用方法 BeginExecute<T>(DataServiceQueryContinuation<T>, AsyncCallback, Object) 以非同步方式將要求傳送給資料服務,以擷取分頁查詢結果中的下一頁資料。 (繼承自 DataServiceContext)。
公用方法 BeginExecuteBatch 以非同步方式和批次方式將一組查詢送出至資料服務。 (繼承自 DataServiceContext)。
公用方法 BeginGetReadStream 以非同步方式來取得做為資料流之指定實體的二進位屬性資料,以及指定的訊息標題。 (繼承自 DataServiceContext)。
公用方法 BeginLoadProperty(Object, String, AsyncCallback, Object) 以非同步的方式,從資料服務載入指定屬性的值。 (繼承自 DataServiceContext)。
公用方法 BeginLoadProperty(Object, String, Uri, AsyncCallback, Object) 使用提供的下一個連結 URI,以非同步方式從資料服務載入相關實體的頁面。 (繼承自 DataServiceContext)。
公用方法 BeginLoadProperty(Object, String, DataServiceQueryContinuation, AsyncCallback, Object) 使用提供的查詢接續物件,以非同步方式從資料服務載入相關實體的下一頁。 (繼承自 DataServiceContext)。
公用方法 BeginSaveChanges(AsyncCallback, Object) 以非同步方式將自從上一次儲存變更後 DataServiceContext 所收集之暫止的變更送出至資料服務。 (繼承自 DataServiceContext)。
公用方法 BeginSaveChanges(SaveChangesOptions, AsyncCallback, Object) 以非同步方式將自從上一次儲存變更後 DataServiceContext 所收集之暫止的變更送出至資料服務。 (繼承自 DataServiceContext)。
公用方法 CancelRequest 嘗試取消與提供之 IAsyncResult 物件相關聯的作業。 (繼承自 DataServiceContext)。
公用方法 CreateQuery<T> 為指定之泛型型別的資料建立資料服務查詢。 (繼承自 DataServiceContext)。
公用方法 DeleteLink DataServiceContext 正在追蹤的連結清單中的連結狀態變更成已刪除。 (繼承自 DataServiceContext)。
公用方法 DeleteObject DataServiceContext 中指定之物件的狀態變更成已刪除。 (繼承自 DataServiceContext)。
公用方法 Detach DataServiceContext 正在追蹤的實體清單中移除實體。 (繼承自 DataServiceContext)。
公用方法 DetachLink DataServiceContext 正在追蹤的連結清單中移除指定的連結。 (繼承自 DataServiceContext)。
公用方法 EndExecute<TElement> 呼叫以完成 BeginExecute。 (繼承自 DataServiceContext)。
公用方法 EndExecuteBatch 呼叫以完成 BeginExecuteBatch。 (繼承自 DataServiceContext)。
公用方法 EndGetReadStream 呼叫以完成擷取做為資料流之二進位屬性的非同步作業。 (繼承自 DataServiceContext)。
公用方法 EndLoadProperty 呼叫以完成 BeginLoadProperty 作業。 (繼承自 DataServiceContext)。
公用方法 EndSaveChanges 呼叫以完成 BeginSaveChanges 作業。 (繼承自 DataServiceContext)。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 Execute<TElement>(Uri) 將要求傳送給資料服務,以執行特定 URI。 (繼承自 DataServiceContext)。
公用方法 Execute<T>(DataServiceQueryContinuation<T>) 將要求傳送給資料服務,以擷取分頁查詢結果中的下一頁資料。 (繼承自 DataServiceContext)。
公用方法 ExecuteBatch 以批次方式將一組查詢送出至資料服務。 (繼承自 DataServiceContext)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetEntityDescriptor 取得所提供之實體物件的 EntityDescriptor。 (繼承自 DataServiceContext)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetLinkDescriptor 取得特定連結的 LinkDescriptor,此描述元會定義兩個實體之間的關聯性。 (繼承自 DataServiceContext)。
公用方法 GetMetadataUri 取得 .edmx 中繼資料位置的統一資源識別元 (URI)。 (繼承自 DataServiceContext)。
公用方法 GetReadStream(Object) 取得指定之實體的二進位屬性資料做為資料流。 (繼承自 DataServiceContext)。
公用方法 GetReadStream(Object, String) 取得做為資料流之指定實體的二進位屬性資料,以及指定的 Accept 訊息標題。 (繼承自 DataServiceContext)。
公用方法 GetReadStream(Object, DataServiceRequestArgs) 取得做為資料流之指定實體的二進位屬性資料,以及指定的訊息標題。 (繼承自 DataServiceContext)。
公用方法 GetReadStreamUri 取得用來傳回做為資料流之二進位屬性資料的 URI。 (繼承自 DataServiceContext)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 LoadProperty(Object, String) 從資料服務載入指定屬性的延後內容。 (繼承自 DataServiceContext)。
公用方法 LoadProperty(Object, String, Uri) 使用提供的下一個連結 URI,載入相關實體的頁面。 (繼承自 DataServiceContext)。
公用方法 LoadProperty(Object, String, DataServiceQueryContinuation) 使用提供的查詢接續物件,從資料服務載入相關實體的下一頁。 (繼承自 DataServiceContext)。
公用方法 LoadProperty<T>(Object, String, DataServiceQueryContinuation<T>) 使用提供的泛型查詢接續物件,從資料服務載入相關實體的下一頁。 (繼承自 DataServiceContext)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 ResolveNameFromType 因為是在此 Visual Studio 服務參考組態的命名空間與伺服器結構描述表示的不同,請使用型別對應器將這兩者。
受保護的方法 ResolveTypeFromName 因為是在此 Visual Studio 服務參考組態的命名空間與伺服器結構描述表示的不同,請使用型別對應器將這兩者。
公用方法 SaveChanges() DataServiceContext 正在追蹤的變更儲存至儲存區。 (繼承自 DataServiceContext)。
公用方法 SaveChanges(SaveChangesOptions) DataServiceContext 正在追蹤的變更儲存至儲存區。 (繼承自 DataServiceContext)。
公用方法 SetLink 通知 DataServiceContext,指定的物件之間存在新連結,以及由 sourceProperty 參數所指定的屬性表示該連結。 (繼承自 DataServiceContext)。
公用方法 SetSaveStream(Object, Stream, Boolean, DataServiceRequestArgs) 將新的資料流設定為實體的二進位屬性,包括要求訊息中所指定的設定。 (繼承自 DataServiceContext)。
公用方法 SetSaveStream(Object, Stream, Boolean, String, String) 將新資料流設定為實體的二進位屬性。指定的內容類型和 Slug 標題會包含在要求訊息中。 (繼承自 DataServiceContext)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。
公用方法 TryGetEntity<TEntity> 透過實體 URI 的參考進行測試擷取 DataServiceContext 正在追蹤的實體。 (繼承自 DataServiceContext)。
公用方法 TryGetUri 擷取與指定之實體相關聯的標準 URI (若有的話)。 (繼承自 DataServiceContext)。
公用方法 UpdateObject DataServiceContext 中指定之物件的狀態變更成 Modified。 (繼承自 DataServiceContext)。

回頁首

事件

  名稱 描述
公用事件 ReadingEntity 在實體資料已經完全讀入實體物件之後發生。 (繼承自 DataServiceContext)。
公用事件 SendingRequest 當建立新的 HttpWebRequest 時發生。 (繼承自 DataServiceContext)。
公用事件 WritingEntity 在實體已經完全序列化為要求訊息中的 XML 之後發生。 (繼承自 DataServiceContext)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Framework.Server.AccessControl 命名空間