DispatcherFrame Class
Definition
Representation of Dispatcher frame.
public class DispatcherFrame
Constructors
| Name | Description |
|---|---|
| DispatcherFrame (2 overloads) | Constructs a new instance of the DispatcherFrame class. |
DispatcherFrame overloads
DispatcherFrame Constructor
Constructs a new instance of the DispatcherFrame class.
public DispatcherFrame()
DispatcherFrame Constructor
Constructs a new instance of the DispatcherFrame class.
public DispatcherFrame(bool exitWhenRequested)
Parameters
exitWhenRequested bool
Indicates whether or not this frame will exit when all frames are requested to exit.
Dispatcher frames typically break down into two categories:
- Long running, general purpose frames, that exit only when told to. These frames should exit when requested.
- 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.
Properties
| Name | Description |
|---|---|
| Continue | Indicates that this dispatcher frame should exit. |
| Dispatcher | No summary available. |
Continue Property
Indicates that this dispatcher frame should exit.
public bool Continue { get; set; }
Dispatcher Property
public Avalonia.Threading.Dispatcher Dispatcher { get; set; }