ContentDeferral Class
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 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
- 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 Windows.Foundation.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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈