Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 970 Bytes

contentdeferral.md

File metadata and controls

29 lines (18 loc) · 970 Bytes
-api-id -api-type
T:Microsoft.UI.Content.ContentDeferral
winrt class

Microsoft.UI.Content.ContentDeferral

-description

Provides support for deferrals of state changes in a ContentIsland.

-remarks

A ContentDeferral will be cancelled automatically in certain circumstances (such as when the ContentIsland is connected to a different xref:Microsoft.UI.Content.ContentSite).

Note

This object has thread affinity and needs to be completed on the UI thread of the owner (unlike xref:Windows.Foundation.Deferral?displayProperty=fullName).

For more information on deferrals, see Asynchronous work and deferrals.

-see-also

ContentIsland.GetStateChangeDeferral, ContentSite.GetIslandStateChangeDeferral

-examples