共用方式為


GameSaveProviderGetResult 類別

定義

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

Windows 需求

裝置系列
Xbox Live Extension SDK (已於 10.0.10240.0 引進)
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Gaming.XboxLive.StorageApiContract (已於 v1.0 引進)

備註

當 GetForUserAsyncGetSyncOnDemandForUserAsync時,會傳回GameSaveProviderGetResult。 完成,並包含非同步作業的結果。 如果作業完成且沒有任何錯誤, GameSaveProviderGetResult.Value 會包含遊戲儲存提供者。

重要

此 API 的目標是啟用 Xbox Live 的 UWP 遊戲和應用程式。 從未啟用 Xbox Live 的來源呼叫這些 API,將無法將資料同步至雲端。

屬性

Status

非同步遊戲儲存提供者要求的狀態結果。

Value

成功儲存提供者要求傳回的 GameSaveProvider實例。

適用於

另請參閱