Share via


MetricThreshold::SetTestCaseKey method

Sets the test case key of the MetricThreshold.

Syntax

virtual HRESULT SetTestCaseKey(
  [in] LPCWSTR testCaseKey
) = 0;

Parameters

testCaseKey [in]

The test case key.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

A MetricThreshold holds data from a MetricThresholds/MetricThreshold element.

The test case key is the value of element MetricThreshold/TestCaseKey.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

MetricThreshold