Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the state of the user context at the time InitializeTest was completed for the virtual user that is associated with the LoadTestUserContext object.
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)
public IDictionary<string, Object> InitializeTestContext { get; }
public:
property IDictionary<String^, Object^>^ InitializeTestContext {
IDictionary<String^, Object^>^ get ();
}
member InitializeTestContext : IDictionary<string, Object>
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 property collection of the TestContext or WebTestContext object 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.