HostedViewClosingEventArgs.GetDeferral 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.
Provides an opportunity for hosted window scenarios to defer the tear down of the window, dispatcher, and Application Single-Threaded Apartment (ASTA) thread of the hosted view.
public:
virtual Deferral ^ GetDeferral() = GetDeferral;
Deferral GetDeferral();
public Deferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As Deferral
Returns
The deferral you can call to defer the tear down of the hosted view.
Remarks
If the deferral is taken, the hosted view's window, dispatcher, and Application Single-Threaded Apartment (ASTA) thread will not be torn down until the deferral is completed or a timeout value expires.