The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WebTestContext::Add Method (String^, Object^)
Adds an element with the provided key and value to the WebTestContext.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Parameters
- key
-
Type:
System::String^
The key to an object.
- value
-
Type:
System::Object^
A value that corresponds to the key.
| Exception | Condition |
|---|---|
| ArgumentNullException | key is null. |
| ArgumentException | An element with the same key already occurs in the collection. |
Show: