ApplicationData.SignalDataChanged | signalDataChanged method

Applies to Windows and Windows Phone

Sends a DataChanged | datachanged event to all registered event handlers.

Syntax


applicationData.signalDataChanged();

Parameters

This method has no parameters.

Remarks

You can use the SignalDataChanged | signalDataChanged method to fire a DataChanged | datachanged event that you can use to signal other code in your app to reload the local state.

The system automatically fires the DataChanged | datachanged event when the roaming state changes. After those changes are roamed to other devices, any instance of your app that is running on those devices will also be able to respond to the DataChanged | datachanged event by refreshing their roaming state.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

DLL

Windows.Storage.ApplicationData.dll

See also

Tasks
Quickstart: Roaming application data (JavaScript)
Quickstart: Roaming application data (C#/VB/C++)
Concepts
Application data overview
Reference
ApplicationData

 

 

Show:
© 2014 Microsoft