DispatcherTimer 생성자

정의

DispatcherTimer 클래스의 새 인스턴스를 초기화합니다.

오버로드

DispatcherTimer()

DispatcherTimer 클래스의 새 인스턴스를 초기화합니다.

DispatcherTimer(DispatcherPriority)

지정된 우선 순위로 타이머 이벤트를 처리하는 DispatcherTimer 클래스의 새 인스턴스를 초기화합니다.

DispatcherTimer(DispatcherPriority, Dispatcher)

지정된 DispatcherTimer에서 지정된 우선 순위로 실행되는 Dispatcher 클래스의 새 인스턴스를 초기화합니다.

DispatcherTimer(TimeSpan, DispatcherPriority, EventHandler, Dispatcher)

지정된 시간 간격, 우선 순위, 이벤트 처리기 및 DispatcherTimer를 사용하는 Dispatcher 클래스의 새 인스턴스를 초기화합니다.

DispatcherTimer()

DispatcherTimer 클래스의 새 인스턴스를 초기화합니다.

public:
 DispatcherTimer();
public DispatcherTimer ();
Public Sub New ()

설명

DispatcherTimer 실행 되는 Dispatcher 에서 현재 스레드의 Background 우선 순위입니다. 다른 지정 하려면 Dispatcher에 다음 생성자를 사용 하 여: DispatcherTimer.DispatcherTimer(DispatcherPriority, Dispatcher)합니다.

적용 대상

DispatcherTimer(DispatcherPriority)

지정된 우선 순위로 타이머 이벤트를 처리하는 DispatcherTimer 클래스의 새 인스턴스를 초기화합니다.

public:
 DispatcherTimer(System::Windows::Threading::DispatcherPriority priority);
public DispatcherTimer (System.Windows.Threading.DispatcherPriority priority);
new System.Windows.Threading.DispatcherTimer : System.Windows.Threading.DispatcherPriority -> System.Windows.Threading.DispatcherTimer
Public Sub New (priority As DispatcherPriority)

매개 변수

priority
DispatcherPriority

타이머를 호출할 우선 순위입니다.

설명

DispatcherTimer 실행 되는 Dispatcher 현재 스레드의 합니다. 다른 지정 하려면 Dispatcher에 다음 생성자를 사용 하 여: DispatcherTimer(DispatcherPriority, Dispatcher)합니다.

적용 대상

DispatcherTimer(DispatcherPriority, Dispatcher)

지정된 DispatcherTimer에서 지정된 우선 순위로 실행되는 Dispatcher 클래스의 새 인스턴스를 초기화합니다.

public:
 DispatcherTimer(System::Windows::Threading::DispatcherPriority priority, System::Windows::Threading::Dispatcher ^ dispatcher);
public DispatcherTimer (System.Windows.Threading.DispatcherPriority priority, System.Windows.Threading.Dispatcher dispatcher);
new System.Windows.Threading.DispatcherTimer : System.Windows.Threading.DispatcherPriority * System.Windows.Threading.Dispatcher -> System.Windows.Threading.DispatcherTimer
Public Sub New (priority As DispatcherPriority, dispatcher As Dispatcher)

매개 변수

priority
DispatcherPriority

타이머를 호출할 우선 순위입니다.

dispatcher
Dispatcher

타이머가 연결된 디스패처입니다.

예외

dispatchernull입니다.

적용 대상

DispatcherTimer(TimeSpan, DispatcherPriority, EventHandler, Dispatcher)

지정된 시간 간격, 우선 순위, 이벤트 처리기 및 DispatcherTimer를 사용하는 Dispatcher 클래스의 새 인스턴스를 초기화합니다.

public:
 DispatcherTimer(TimeSpan interval, System::Windows::Threading::DispatcherPriority priority, EventHandler ^ callback, System::Windows::Threading::Dispatcher ^ dispatcher);
public DispatcherTimer (TimeSpan interval, System.Windows.Threading.DispatcherPriority priority, EventHandler callback, System.Windows.Threading.Dispatcher dispatcher);
new System.Windows.Threading.DispatcherTimer : TimeSpan * System.Windows.Threading.DispatcherPriority * EventHandler * System.Windows.Threading.Dispatcher -> System.Windows.Threading.DispatcherTimer
Public Sub New (interval As TimeSpan, priority As DispatcherPriority, callback As EventHandler, dispatcher As Dispatcher)

매개 변수

interval
TimeSpan

틱 사이의 시간 간격입니다.

priority
DispatcherPriority

타이머를 호출할 우선 순위입니다.

callback
EventHandler

Tick 이벤트가 발생할 때 호출할 이벤트 처리기입니다.

dispatcher
Dispatcher

타이머가 연결된 디스패처입니다.

예외

callback이(가) null인 경우

또는

dispatchernull입니다.

interval 가 0보다 작거나 Int32.MaxValue보다 큽다.

적용 대상