Udostępnij za pośrednictwem


ApplicationData.SignalDataChanged Method

Definition

Sends a DataChanged event to all registered event handlers.

public:
 virtual void SignalDataChanged() = SignalDataChanged;
void SignalDataChanged();
public void SignalDataChanged();
function signalDataChanged()
Public Sub SignalDataChanged ()

Remarks

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

The system automatically fires the 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 event by refreshing their roaming state.

Applies to

See also