API Reference
Class
Registry (CxDiagnostics)
Registry access counters (reads/writes, failures, average durations).
Inheritance
- Object
- Registry
Methods
public static Void RecordRead(TimeSpan duration, Boolean success) #Returns:
VoidRecords a registry read operation with its duration and outcome.
Parameters
- duration System.TimeSpan
- Elapsed time for the read.
- success System.Boolean
- True when the read succeeded.
public static Void RecordWrite(TimeSpan duration, Boolean success) #Returns:
VoidRecords a registry write operation with its duration and outcome.
Parameters
- duration System.TimeSpan
- Elapsed time for the write.
- success System.Boolean
- True when the write succeeded.
public static RegistrySnapshot Snapshot() #Returns:
RegistrySnapshotReturns a snapshot of collected registry metrics since the last reset.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object