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.
LoadTestContext::Remove Method (String^)
Removes the element that has the specified key from the LoadTestContext.
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Parameters
- key
-
Type:
System::String^
The key of the element to remove.
Return Value
Type: System::Booleantrue if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original LoadTestContext.
Implements
IDictionary<TKey, TValue>::Remove(TKey)| Exception | Condition |
|---|---|
| ArgumentNullException | key is null. |
| NotSupportedException | LoadTestContext is read-only. |
Show: