Udostępnij za pośrednictwem


GameSaveProviderGetResult Class

Definition

Result of a GetForUserAsync or GetSyncOnDemandForUserAsync. operation.

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
Inheritance
Object Platform::Object IInspectable GameSaveProviderGetResult
Attributes

Windows requirements

Device family
Xbox Live Extension SDK (introduced in 10.0.10240.0)
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Gaming.XboxLive.StorageApiContract (introduced in v1.0)

Remarks

GameSaveProviderGetResult is returned when GetForUserAsync or GetSyncOnDemandForUserAsync. completes, and contains the result of the asynchronous operation. If the operation completed with no errors, GameSaveProviderGetResult.Value contains the game save provider.

Important

This API is targeted towards UWP games and apps with Xbox Live Enabled. Calls to these APIs made from sources that are not Xbox Live enabled will not be able to sync data to the cloud.

Properties

Status

Status result of the asynchronous game save provider request.

Value

GameSaveProvider instance returned by a successful game save provider request.

Applies to

See also