Partager via


ContentDeferral Class

Definition

Provides support for deferrals of state changes in a ContentIsland.

public ref class ContentDeferral sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentDeferral final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentDeferral
Public NotInheritable Class ContentDeferral
Inheritance
Object Platform::Object IInspectable ContentDeferral
Attributes

Remarks

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

Note

This object has thread affinity and needs to be completed on the UI thread of the owner (unlike Deferral).

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

Methods

Complete()

Ends the deferral and lets state changes in a ContentIsland proceed.

Applies to

See also