ITmi.AddManagedTestStorage 方法 (Object, String, TestType)
這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
加入針對特定測試管理員所提供的測試儲存路徑以及指定的測試類型。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Sub AddManagedTestStorage ( _
manager As Object, _
storagePath As String, _
testType As TestType _
)
void AddManagedTestStorage(
Object manager,
string storagePath,
TestType testType
)
void AddManagedTestStorage(
Object^ manager,
String^ storagePath,
TestType^ testType
)
abstract AddManagedTestStorage :
manager:Object *
storagePath:string *
testType:TestType -> unit
function AddManagedTestStorage(
manager : Object,
storagePath : String,
testType : TestType
)
參數
- manager
型別:System.Object
在指定之路徑中管理 (載入、儲存、更新等等) 測試的物件。
- storagePath
型別:System.String
包含受管理測試之檔案的路徑。可能是包含單元測試之測試專案中的 DLL。
- testType
型別:Microsoft.VisualStudio.TestTools.Common.TestType
TestType 物件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。