-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Core.HostedViewClosingEventArgs.GetDeferral |
winrt method |
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.
The deferral you can call to defer the tear down of the hosted view.
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.