SetVersionRequest 類別

定義

當應用程式在其應用程式資料存放區中設定應用程式資料的版本時,提供資料。

public ref class SetVersionRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SetVersionRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SetVersionRequest
Public NotInheritable Class SetVersionRequest
繼承
Object Platform::Object IInspectable SetVersionRequest
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

當您實作 ApplicationDataSetVersionHandler 委派以回應設定版本事件時,就會存取此物件。

屬性

CurrentVersion

取得目前的版本。

DesiredVersion

取得要求的版本。

方法

GetDeferral()

要求設定版本要求延遲。

適用於