RequestRestrictions 類別

描述用戶端要求的驗證和處理常式要求。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.Framework.Server.RequestRestrictions

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

語法

'宣告
Public Class RequestRestrictions
public class RequestRestrictions

RequestRestrictions 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 RequestRestrictions(RequiredAuthentication, AllowedHandler, String)
公用方法 RequestRestrictions(String, RequiredAuthentication, AllowedHandler, String)
公用方法 RequestRestrictions(RequiredAuthentication, AllowedHandler, String, Boolean)
公用方法 RequestRestrictions(String, RequiredAuthentication, AllowedHandler, String, Boolean)
公用方法 RequestRestrictions(RequiredAuthentication, AllowedHandler, String, Boolean, AuthenticationMechanisms)
公用方法 RequestRestrictions(String, RequiredAuthentication, AllowedHandler, String, Boolean, AuthenticationMechanisms)

回頁首

屬性

  名稱 描述
公用屬性 AllowedHandlers 用戶端要求的允許處理和處理常式。
公用屬性 AllowNonSsl 當設定 ssl,所有要求都會重新導向至安全 URL,除非這個設定為 true。
公用屬性 Description 套用這個要求限制和需求路徑的簡短說明。
公用屬性 Label 用於的選擇性標籤邏輯上識別所需的一組限制。
公用屬性 MechanismsToAdvertise 當要求未驗證時,配置的驗證模組不一定會提供廣告回到用戶端會透過其特定機制支援驗證。有些廣告比其他而且干擾;這個等位的機制完全劫持 401 302 傳送至用戶端。如果特定機制的位元此遮罩尚未設定,則會在已失敗的要求不會通告。
公用屬性 RequiredAuthentication 必要的層級用戶端要求的驗證。

回頁首

方法

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

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間