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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應