Property | Type | Description | |
---|---|---|---|
CriticalDuration | System.Duration | ||
Started | Instant | ||
WarningDuration | System.Duration |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes the timer updating the performance counters the first time this is called. Following disposal, the public properties of this type remain safely accessible. |
|
RegionTimer ( [ onDisposed = null, System.Duration warningDuration = null, System.Duration criticalDuration = null ) : System |
Initializes a new instance of the RegionTimer class.
|
public RegionTimer ( [ onDisposed = null, System.Duration warningDuration = null, System.Duration criticalDuration = null ) : System | ||
onDisposed | [ | The disposed delegate is called once on disposal. |
warningDuration | System.Duration | Duration of the warning. |
criticalDuration | System.Duration | Duration of the critical. |
return | System |