Dispatcher.DispatchDelayed(TimeSpan, Action) 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.
Schedules the provided action on the UI thread from a worker thread, taking into account the provided delay.
public:
virtual bool DispatchDelayed(TimeSpan delay, Action ^ action);
public bool DispatchDelayed (TimeSpan delay, Action action);
abstract member DispatchDelayed : TimeSpan * Action -> bool
override this.DispatchDelayed : TimeSpan * Action -> bool
Public Function DispatchDelayed (delay As TimeSpan, action As Action) As Boolean
Parameters
- delay
- TimeSpan
The delay taken into account before action
is dispatched.
Returns
true
when the action has been dispatched successfully, otherwise false
.
Implements
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.