TransferTargetWatcher.Updated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Updated event occurs when the properties of a transfer target are updated. This event is raised by the TransferTargetWatcher to notify applications about changes to an existing transfer target.
/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token Updated(TypedEventHandler<TransferTargetWatcher, TransferTargetChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void Updated(event_token const* cookie) const;
// Revoke with event_revoker
TransferTargetWatcher::Updated_revoker Updated(auto_revoke_t, TypedEventHandler<TransferTargetWatcher, TransferTargetChangedEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<TransferTargetWatcher,TransferTargetChangedEventArgs> Updated;
function onUpdated(eventArgs) { /* Your code */ }
transferTargetWatcher.addEventListener("updated", onUpdated);
transferTargetWatcher.removeEventListener("updated", onUpdated);
- or -
transferTargetWatcher.onupdated = onUpdated;
Public Custom Event Updated As TypedEventHandler(Of TransferTargetWatcher, TransferTargetChangedEventArgs)
Event Type
- Attributes
Remarks
Important
Reserved for future use. Currently, TransferTargetWatcher doesn't currently raise this event.
Event Arguments
TransferTargetChangedEventArgs: Contains information about the updated transfer target.