Condividi tramite


DataPackage.ShareCanceled Evento

Definizione

Generato quando viene annullata una condivisione.

// Register
event_token ShareCanceled(TypedEventHandler<DataPackage, IInspectable const&> const& handler) const;

// Revoke with event_token
void ShareCanceled(event_token const* cookie) const;

// Revoke with event_revoker
DataPackage::ShareCanceled_revoker ShareCanceled(auto_revoke_t, TypedEventHandler<DataPackage, IInspectable const&> const& handler) const;
public event TypedEventHandler<DataPackage,object> ShareCanceled;
function onShareCanceled(eventArgs) { /* Your code */ }
dataPackage.addEventListener("sharecanceled", onShareCanceled);
dataPackage.removeEventListener("sharecanceled", onShareCanceled);
- or -
dataPackage.onsharecanceled = onShareCanceled;
Public Custom Event ShareCanceled As TypedEventHandler(Of DataPackage, Object) 

Tipo evento

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 2004 (è stato introdotto in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v10.0)

Si applica a