| Visual Basic (Declaration) | |
|---|---|
Public Overloads MustOverride Sub Record() | |
| C# | |
|---|---|
public abstract void Record() | |
| C++/CLI | |
|---|---|
public: abstract void Record(); | |
| Exception | Description |
|---|---|
| System.InvalidOperationException | Measurement cannot run concurrently with selected measurement (Measurement.IsConcurrent = false). |
This measurement must be able to run concurrently with the selected measurement (app.Measurements.SelectedItem) or a System.InvalidOperationException will be thrown.
To stop recordings in progress, use Measurement.Pause() or MeasurementCollection.Pause().
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)