MethodInformation 類別
方法資訊是用來描述 Web 方法追蹤參數、時間和其他方法引動過程的詳細資料
繼承階層架構
System.Object
Microsoft.TeamFoundation.Framework.Server.MethodInformation
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public NotInheritable Class MethodInformation
public sealed class MethodInformation
MethodInformation 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
MethodInformation(String, MethodType, EstimatedMethodCost) | 建立描述 WebMethod、Web 網頁、處理序或工作的新 MethodInformation 執行。 |
![]() |
MethodInformation(String, MethodType, EstimatedMethodCost, Boolean) | 建立描述 WebMethod、Web 網頁、處理序或工作的新 MethodInformation 執行。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
EstimatedCost | 估計成本是定義大約有多少處理器時間和資源用於執行方法。 |
![]() |
MethodType | 傳回這個方法的型別。 |
![]() |
Name | 這是執行之方法的名稱。 |
![]() |
Parameters | 這是參數設定與這個 Web 方法。不應該修改這個集合中。若要更新集合使用 AddParameter 和 AddParameterArray。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
AddArrayParameter(String, IEnumerable) | |
![]() |
AddArrayParameter<T>(String, IList<T>) | 除了總數的值以外, AddArrayParameter 記錄陣列和數個值的名稱陣列。 |
![]() |
AddParameter | AddParameter 將唯一名稱/值至用來執行方法的參數設定為。 |
![]() |
AttachQuota | |
![]() |
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
ToString | (覆寫 Object.ToString()。) |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。