CounterCreationDataCollection::OnValidate Method (Object^)
.NET Framework (current version)
Checks the specified object to determine whether it is a valid CounterCreationData type.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System::Object^
The object that will be validated.
| Exception | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentException | value is not a CounterCreationData object. |
The OnValidate method determines whether the object specified in the value parameter is a CounterCreationData instance. If not, it throws an ArgumentException.
.NET Framework
Available since 2.0
Available since 2.0
Show: