ThreadHelper.BeginInvoke Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BeginInvoke(Action) |
Schedule an action for execution on the UI thread asynchronously. |
BeginInvoke(DispatcherPriority, Action) |
Schedule an action for execution on the UI thread asynchronously. |
BeginInvoke(Action)
Schedule an action for execution on the UI thread asynchronously.
public:
void BeginInvoke(Action ^ action);
public void BeginInvoke (Action action);
member this.BeginInvoke : Action -> unit
Public Sub BeginInvoke (action As Action)
Parameters
- action
- Action
The action to run.
Applies to
BeginInvoke(DispatcherPriority, Action)
Schedule an action for execution on the UI thread asynchronously.
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)
Parameters
- priority
- DispatcherPriority
Priority at which to run the action.
- action
- Action
The action to run.