EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

DataPackage.Destroyed | destroyed event

Applies to Windows and Windows Phone

Occurs when the DataPackage is destroyed.

Syntax


function onDestroyed(eventArgs) { /* Your code */ }
 
// addEventListener syntax
dataPackage.addEventListener("destroyed", onDestroyed);
dataPackage.removeEventListener("destroyed", onDestroyed);
 
- or -

dataPackage.ondestroyed = onDestroyed;


Event information

Delegate TypedEventHandler<DataPackage, Object>

Remarks

In general, the system handles the destruction of a DataPackage object. Your app should not have to handle this event.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

See also

DataPackage

 

 

Mostrar:
© 2014 Microsoft