ApplicationData.DataChanged | datachanged event
Occurs when roaming application data is synchronized.
Syntax
public: event TypedEventHandler<ApplicationData, Object>^ DataChanged { Windows::Foundation::EventRegistrationToken add(TypedEventHandler<ApplicationData, Object>^ value); void remove(Windows::Foundation::EventRegistrationToken token); }
Event information
| Delegate | TypedEventHandler<ApplicationData, Object> |
|---|
Remarks
Windows Phone 8
This API is not implemented and will throw an exception if called.
Examples
This example registers for the DataChanged | datachanged event.
void MainPage::InitHandlers() { Windows::Storage::ApplicationData::Current->DataChanged += ref new TypedEventHandler<Windows::Storage::ApplicationData^, Object^> (this, &MainPage::DataChangeHandler); } void MainPage::DataChangeHandler(Windows::Storage::ApplicationData^ appData, Object^) { // TODO: Refresh your data }
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
See also
- Tasks
- Quickstart: Roaming application data (JavaScript)
- Quickstart: Roaming application data (C#/VB/C++)
- Concepts
- Application data overview
- Reference
- ApplicationData
Build date: 5/16/2013
