DispatcherExtensions.BeginInvoke DispatcherExtensions.BeginInvoke DispatcherExtensions.BeginInvoke Method

정의

Dispatcher가 만들어진 스레드에서 지정된 대리자를 비동기적으로 실행합니다.Executes the specified delegate asynchronously on the thread that the Dispatcher was created on.

오버로드

BeginInvoke(Dispatcher, Action) BeginInvoke(Dispatcher, Action) BeginInvoke(Dispatcher, Action)

지정된 Dispatcher가 만들어진 스레드에서 보통 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.Executes the specified delegate asynchronously with normal priority on the thread that the specified Dispatcher was created on.

BeginInvoke(Dispatcher, Action, DispatcherPriority) BeginInvoke(Dispatcher, Action, DispatcherPriority) BeginInvoke(Dispatcher, Action, DispatcherPriority)

지정된 Dispatcher가 만들어진 스레드에서 지정된 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.Executes the specified delegate asynchronously with the specified priority on the thread that the specified Dispatcher was created on.

BeginInvoke(Dispatcher, Action) BeginInvoke(Dispatcher, Action) BeginInvoke(Dispatcher, Action)

지정된 Dispatcher가 만들어진 스레드에서 보통 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.Executes the specified delegate asynchronously with normal priority on the thread that the specified Dispatcher was created on.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Windows::Threading::DispatcherOperation ^ BeginInvoke(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

매개 변수

dispatcher
Dispatcher Dispatcher Dispatcher

대리자를 실행하는 디스패처입니다.The dispatcher that executes the delegate.

action
Action Action Action

실행할 대리자로, 인수를 사용하지 않으며 값을 반환하지 않습니다.The delegate to execute, which takes no arguments and does not return a value.

반환

IAsyncResult 작업의 결과를 나타내는 BeginInvoke(Dispatcher, Action) 개체입니다.An IAsyncResult object that represents the result of the BeginInvoke(Dispatcher, Action) operation.

예외

actionnull인 경우action is null.

BeginInvoke(Dispatcher, Action, DispatcherPriority) BeginInvoke(Dispatcher, Action, DispatcherPriority) BeginInvoke(Dispatcher, Action, DispatcherPriority)

지정된 Dispatcher가 만들어진 스레드에서 지정된 우선 순위에 있는 지정된 대리자를 비동기적으로 실행합니다.Executes the specified delegate asynchronously with the specified priority on the thread that the specified Dispatcher was created on.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Windows::Threading::DispatcherOperation ^ BeginInvoke(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

매개 변수

dispatcher
Dispatcher Dispatcher Dispatcher

대리자를 실행하는 디스패처입니다.The dispatcher that executes the delegate.

action
Action Action Action

실행할 대리자로, 인수를 사용하지 않으며 값을 반환하지 않습니다.The delegate to execute, which takes no arguments and does not return a value.

priority
DispatcherPriority DispatcherPriority DispatcherPriority

Dispatcher 이벤트 큐의 다른 보류 중인 작업에 상대적인 대리자의 실행 우선 순위입니다.The execution priority of the delegate relative to other pending operations in the Dispatcher event queue.

반환

예외

actionnull입니다.action is null.

적용 대상