DispatcherFrame(Boolean) Constructor
Constructs a new instance of the DispatcherFrame class.
Definition
Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public DispatcherFrame(
bool exitWhenRequested
)
Public Sub New (
exitWhenRequested As Boolean
)
new :
exitWhenRequested : bool -> DispatcherFrame
Parameters
- Boolean
- Indicates whether or not this frame will exit when all frames are requested to exit. Dispatcher frames typically break down into two categories: 1) Long running, general purpose frames, that exit only when told to. These frames should exit when requested. 2) Short running, very specific frames that exit themselves when an important criteria is met. These frames may consider not exiting when requested in favor of waiting for their important criteria to be met. These frames should have a timeout associated with them.
See Also
Reference
DispatcherFrame Class
DispatcherFrame Overload
Avalonia.Threading Namespace