C# 클래스 WebApplications.Utilities.Performance.RegionTimer

상속: IDisposable
파일 보기 프로젝트 열기: webappsuk/CoreLibraries 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CriticalDuration System.Duration
Started Instant
WarningDuration System.Duration

공개 메소드들

메소드 설명
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.

메소드 상세

Dispose() 공개 메소드

Disposes the timer updating the performance counters the first time this is called.

Following disposal, the public properties of this type remain safely accessible.

public Dispose ( ) : void
리턴 void

RegionTimer() 공개 메소드

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.
리턴 System

프로퍼티 상세

CriticalDuration 공개적으로 프로퍼티

The duration after which the timer has passed a critical level, or .
public Duration,System CriticalDuration
리턴 System.Duration

Started 공개적으로 프로퍼티

When the timer started.
public Instant Started
리턴 Instant

WarningDuration 공개적으로 프로퍼티

The duration after which the timer has passed a warning level, or .
public Duration,System WarningDuration
리턴 System.Duration