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.
LoadTestLoadProfile::Validate Method ()
When overridden in a derived class, validates whether all properties of this object have values that are valid and consistent.
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
| Exception | Condition |
|---|---|
| InvalidLoadProfileException | One or more property values is inconsistent or invalid. |
The exception message is displayed in the load test results viewer in Visual Studio.
This method must be implemented by each class extending LoadTestLoadProfile.
Whenever a load test plug-in assigns a new object to the LoadTestScenario::LoadProfile property, this Validate method is called by the testing framework. If an exception is thrown, it is reported in the load test results, both in the user interface and in the test results, and the current load profile settings continue to remain in effect.
Show: