DispatcherExtensions.BeginInvoke 메서드

정의

생성된 스레드 Dispatcher 에서 지정된 대리자를 비동기적으로 실행합니다.

오버로드

Name Description
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).

특성

예외

actionnull입니다.

적용 대상

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).

특성

예외

actionnull입니다.

priority 유효한 DispatcherPriority아닙니다.

적용 대상