RequestContextExtensions 類別

對 TeamFoundationRequestContext 通用的副檔名

繼承階層

System.Object
  Microsoft.TeamFoundation.Framework.Server.RequestContextExtensions

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

語法

'宣告
<ExtensionAttribute> _
Public NotInheritable Class RequestContextExtensions
public static class RequestContextExtensions

方法

  名稱 描述
公用方法靜態成員 CreateComponent<TInterface, TComponent>(TeamFoundationRequestContext) 建立可用於通訊至資料庫版本的元件。建構透過介面,讓它使用 Fakes 更加一般來說是模擬/stubbable。
公用方法靜態成員 CreateComponent<TInterface, TComponent>(TeamFoundationRequestContext, String) 建立可用於通訊至資料庫版本的元件。建構透過介面,讓它使用 Fakes 更加一般來說是模擬/stubbable。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間