ThreadHelper.BeginInvoke Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| BeginInvoke(Action) |
Planen Sie asynchron eine Aktion für die Ausführung im UI-Thread. |
| BeginInvoke(DispatcherPriority, Action) |
Planen Sie asynchron eine Aktion für die Ausführung im UI-Thread. |
BeginInvoke(Action)
Planen Sie asynchron eine Aktion für die Ausführung im UI-Thread.
public:
void BeginInvoke(Action ^ action);
public void BeginInvoke (Action action);
member this.BeginInvoke : Action -> unit
Public Sub BeginInvoke (action As Action)
Parameter
- action
- Action
Die Aktion, die ausgeführt werden soll.
Gilt für
BeginInvoke(DispatcherPriority, Action)
Planen Sie asynchron eine Aktion für die Ausführung im UI-Thread.
public:
void BeginInvoke(System::Windows::Threading::DispatcherPriority priority, Action ^ action);
public void BeginInvoke (System.Windows.Threading.DispatcherPriority priority, Action action);
member this.BeginInvoke : System.Windows.Threading.DispatcherPriority * Action -> unit
Public Sub BeginInvoke (priority As DispatcherPriority, action As Action)
Parameter
- priority
- DispatcherPriority
Die Priorität, mit der die Aktion ausgeführt werden soll.
- action
- Action
Die Aktion, die ausgeführt werden soll.