C# 클래스 System.Timers.Timer

상속: System.Windows.Threading.DispatcherTimer
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
MyTimerCallback void
UpdateTimer void

공개 메소드들

메소드 설명
BeginInit ( ) : void

Notifies the object that initialization is beginning and tells it to stand by.

Close ( ) : void

Disposes of the resources (other than memory) used by the .

EndInit ( ) : void

Notifies the object that initialization is complete.

Start ( ) : void

Starts the timing by setting to .

Stop ( ) : void

Stops the timing by setting to .

Timer ( ) : System.Threading

Initializes a new instance of the class, with the properties set to initial values.

Timer ( double interval ) : System.Threading

Initializes a new instance of the class, setting the property to the specified period.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
MyTimerCallback ( object state ) : void
UpdateTimer ( ) : void

메소드 상세

BeginInit() 공개 메소드

Notifies the object that initialization is beginning and tells it to stand by.

public BeginInit ( ) : void
리턴 void

Close() 공개 메소드

Disposes of the resources (other than memory) used by the .

public Close ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EndInit() 공개 메소드

Notifies the object that initialization is complete.

public EndInit ( ) : void
리턴 void

Start() 공개 메소드

Starts the timing by setting to .

public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the timing by setting to .

public Stop ( ) : void
리턴 void

Timer() 공개 메소드

Initializes a new instance of the class, with the properties set to initial values.

public Timer ( ) : System.Threading
리턴 System.Threading

Timer() 공개 메소드

Initializes a new instance of the class, setting the property to the specified period.

public Timer ( double interval ) : System.Threading
interval double
리턴 System.Threading