DispatcherFrame Constructor (Boolean)
.NET Framework (current version)
Initializes a new instance of the DispatcherFrame class, by using the specified exit request flag.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- exitWhenRequested
-
Type:
System::Boolean
Indicates whether this frame will exit when all frames are requested to exit.
DispatcherFrame typically fall into two categories:
Long running, general purpose frames, that exit only when instructed to. These frames should exit when they are requested.
Short running, very specific frames that exit when an important criteria is met. These frames may consider not exiting when they are requested in favor of waiting for their exit criteria to be met. These frames should have a time-out associated with them.
At application shutdown, all frames are request to exit.
.NET Framework
Available since 3.0
Available since 3.0
Show: