LoadTestUserContext.InitializeTestContext Property
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property InitializeTestContext As IDictionary(Of String, Object)
'Usage
Dim instance As LoadTestUserContext
Dim value As IDictionary(Of String, Object)
value = instance.InitializeTestContext
public IDictionary<string, Object> InitializeTestContext { get; }
public:
property IDictionary<String^, Object^>^ InitializeTestContext {
IDictionary<String^, Object^>^ get ();
}
public function get InitializeTestContext () : IDictionary<String, Object>
Property Value
Type: System.Collections.Generic.IDictionary<String, Object>
Remarks
If the load test scenario specifies an InitializeTest, the InitialzeTestContext property contains the contents of the TestContext or WebTestContext object's property collection at the time the InitializeTest completed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.