Information
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.

Namespace:   Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

public:
virtual bool Remove(
	String^ key
) sealed

Parameters

key
Type: System::String^

The key of the element to remove.

Return Value

Type: System::Boolean

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original LoadTestContext.

Exception Condition
ArgumentNullException

key is null.

NotSupportedException

LoadTestContext is read-only.

Return to top
Show: