次の方法で共有


WebTest.IncludeWebTest メソッド (WebTest, Boolean)

コード化された Web パフォーマンス テスト内からコード化された Web パフォーマンス テストを呼び出します。

名前空間:  Microsoft.VisualStudio.TestTools.WebTesting
アセンブリ:  Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 内)

構文

'宣言
Public Function IncludeWebTest ( _
    childWebTest As WebTest, _
    inheritWebTestSettings As Boolean _
) As WebTest
public WebTest IncludeWebTest(
    WebTest childWebTest,
    bool inheritWebTestSettings
)
public:
WebTest^ IncludeWebTest(
    WebTest^ childWebTest, 
    bool inheritWebTestSettings
)
member IncludeWebTest : 
        childWebTest:WebTest * 
        inheritWebTestSettings:bool -> WebTest 
public function IncludeWebTest(
    childWebTest : WebTest, 
    inheritWebTestSettings : boolean
) : WebTest

パラメーター

  • inheritWebTestSettings
    型 : System.Boolean
    true の場合、含まれる Web パフォーマンス テストは親 Web パフォーマンス テストからプロパティの値を継承します。

戻り値

型 : Microsoft.VisualStudio.TestTools.WebTesting.WebTest

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

WebTest クラス

IncludeWebTest オーバーロード

Microsoft.VisualStudio.TestTools.WebTesting 名前空間