DispatcherExtensions.BeginInvoke 메서드

정의

Dispatcher가 만들어진 스레드에서 지정된 대리자를 비동기적으로 실행합니다.

오버로드

BeginInvoke(Dispatcher, Action)

지정된 Dispatcher가 만들어진 스레드에서 보통 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.

BeginInvoke(Dispatcher, Action, DispatcherPriority)

지정된 Dispatcher가 만들어진 스레드에서 지정된 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.

BeginInvoke(Dispatcher, Action)

지정된 Dispatcher가 만들어진 스레드에서 보통 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Windows::Threading::DispatcherOperation ^ BeginInvoke(System::Windows::Threading::Dispatcher ^ dispatcher, Action ^ action);
public static System.Windows.Threading.DispatcherOperation BeginInvoke (this System.Windows.Threading.Dispatcher dispatcher, Action action);
[System.ComponentModel.Browsable(false)]
public static System.Windows.Threading.DispatcherOperation BeginInvoke (this System.Windows.Threading.Dispatcher dispatcher, Action action);
static member BeginInvoke : System.Windows.Threading.Dispatcher * Action -> System.Windows.Threading.DispatcherOperation
[<System.ComponentModel.Browsable(false)>]
static member BeginInvoke : System.Windows.Threading.Dispatcher * Action -> System.Windows.Threading.DispatcherOperation
<Extension()>
Public Function BeginInvoke (dispatcher As Dispatcher, action As Action) As DispatcherOperation

매개 변수

dispatcher
Dispatcher

대리자를 실행하는 디스패처입니다.

action
Action

실행할 대리자로, 인수를 사용하지 않으며 값을 반환하지 않습니다.

반환

IAsyncResult 작업의 결과를 나타내는 BeginInvoke(Dispatcher, Action) 개체입니다.

특성

예외

action이(가) null인 경우

적용 대상

BeginInvoke(Dispatcher, Action, DispatcherPriority)

지정된 Dispatcher가 만들어진 스레드에서 지정된 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Windows::Threading::DispatcherOperation ^ BeginInvoke(System::Windows::Threading::Dispatcher ^ dispatcher, Action ^ action, System::Windows::Threading::DispatcherPriority priority);
public static System.Windows.Threading.DispatcherOperation BeginInvoke (this System.Windows.Threading.Dispatcher dispatcher, Action action, System.Windows.Threading.DispatcherPriority priority);
[System.ComponentModel.Browsable(false)]
public static System.Windows.Threading.DispatcherOperation BeginInvoke (this System.Windows.Threading.Dispatcher dispatcher, Action action, System.Windows.Threading.DispatcherPriority priority);
static member BeginInvoke : System.Windows.Threading.Dispatcher * Action * System.Windows.Threading.DispatcherPriority -> System.Windows.Threading.DispatcherOperation
[<System.ComponentModel.Browsable(false)>]
static member BeginInvoke : System.Windows.Threading.Dispatcher * Action * System.Windows.Threading.DispatcherPriority -> System.Windows.Threading.DispatcherOperation
<Extension()>
Public Function BeginInvoke (dispatcher As Dispatcher, action As Action, priority As DispatcherPriority) As DispatcherOperation

매개 변수

dispatcher
Dispatcher

대리자를 실행하는 디스패처입니다.

action
Action

실행할 대리자로, 인수를 사용하지 않으며 값을 반환하지 않습니다.

priority
DispatcherPriority

Dispatcher 이벤트 큐의 다른 보류 중인 작업에 상대적인 대리자의 실행 우선 순위입니다.

반환

IAsyncResult 작업의 결과를 나타내는 BeginInvoke(Dispatcher, Action, DispatcherPriority) 개체입니다.

특성

예외

action이(가) null인 경우

priority은 유효한 DispatcherPriority이 아닙니다.

적용 대상